Example case for mockery issue #128 filed with the golang tool "mockery".
go get github.com/jaytaylor/mockery-example
go run main.go
$ go run main.go
common prefix: {
Prefix: "2017-01-01"
}
content: {
Key: "foo-object"
}
go test -v ./...
$ go test -v ./...
=== RUN TestS3Mock
--- PASS: TestS3Mock (0.00s)
main_test.go:41: common prefix: {
Prefix: "2017-01-01"
}
PASS
ok github.com/jaytaylor/mockery-example 0.222s
? github.com/jaytaylor/mockery-example/mocks [no test files]