(t *testing.T)
| 40 | } |
| 41 | |
| 42 | func TestCreateSerialize(t *testing.T) { |
| 43 | dag.SerializeRoundTripTest(t, operationUnmarshaler, func(author identity.Interface, unixTime int64) (*CreateOperation, entity.Resolvers) { |
| 44 | return NewCreateOp(author, unixTime, "title", "message", nil), nil |
| 45 | }) |
| 46 | dag.SerializeRoundTripTest(t, operationUnmarshaler, func(author identity.Interface, unixTime int64) (*CreateOperation, entity.Resolvers) { |
| 47 | return NewCreateOp(author, unixTime, "title", "message", []repository.Hash{"hash1", "hash2"}), nil |
| 48 | }) |
| 49 | } |
nothing calls this directly
no test coverage detected