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

@@ -23,12 +23,12 @@ var _ dotimport.Service = &ServiceMock{}
// // make and configure a mocked Service
// mockedService := &ServiceMock{
// UserFunc: func(ID string) (dotimport.User, error) {
// panic("TODO: mock out the User method")
// panic("mock out the User method")
// },
// }
//
// // TODO: use mockedService in code that requires Service
// // and then make assertions.
// // use mockedService in code that requires Service
// // and then make assertions.
//
// }
type ServiceMock struct {

View File

@@ -23,12 +23,12 @@ var _ Service = &ServiceMock{}
// // make and configure a mocked Service
// mockedService := &ServiceMock{
// DoSomethingFunc: func(in1 somerepo.SomeType) error {
// panic("TODO: mock out the DoSomething method")
// panic("mock out the DoSomething method")
// },
// }
//
// // TODO: use mockedService in code that requires Service
// // and then make assertions.
// // use mockedService in code that requires Service
// // and then make assertions.
//
// }
type ServiceMock struct {