Merge branch 'master' into static-interface-check

This commit is contained in:
Mat Ryer
2019-01-21 17:15:50 +00:00
committed by GitHub
4 changed files with 15 additions and 15 deletions

View File

@@ -24,18 +24,18 @@ var _ MyInterface = &MyInterfaceMock{}
// // make and configure a mocked MyInterface
// mockedMyInterface := &MyInterfaceMock{
// OneFunc: func() bool {
// panic("TODO: mock out the One method")
// panic("mock out the One method")
// },
// ThreeFunc: func() string {
// panic("TODO: mock out the Three method")
// panic("mock out the Three method")
// },
// TwoFunc: func() int {
// panic("TODO: mock out the Two method")
// panic("mock out the Two method")
// },
// }
//
// // TODO: use mockedMyInterface in code that requires MyInterface
// // and then make assertions.
// // use mockedMyInterface in code that requires MyInterface
// // and then make assertions.
//
// }
type MyInterfaceMock struct {