2022-01-25 16:20:32 +00:00
|
|
|
package address
|
|
|
|
|
|
|
|
import (
|
2022-01-25 16:41:46 +00:00
|
|
|
cidtest "github.com/nspcc-dev/neofs-sdk-go/container/id/test"
|
2022-01-25 16:20:32 +00:00
|
|
|
"github.com/nspcc-dev/neofs-sdk-go/object/address"
|
2022-01-25 16:41:46 +00:00
|
|
|
oidtest "github.com/nspcc-dev/neofs-sdk-go/object/id/test"
|
2022-01-25 16:20:32 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// Address returns random object.Address.
|
|
|
|
func Address() *address.Address {
|
|
|
|
x := address.NewAddress()
|
|
|
|
|
|
|
|
x.SetContainerID(cidtest.ID())
|
2022-01-25 16:41:46 +00:00
|
|
|
x.SetObjectID(oidtest.ID())
|
2022-01-25 16:20:32 +00:00
|
|
|
|
|
|
|
return x
|
|
|
|
}
|