Merge branch 'master' into abs-path-modules
This commit is contained in:
@@ -19,12 +19,12 @@ var (
|
||||
// // 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 {
|
||||
|
@@ -19,12 +19,12 @@ var (
|
||||
// // 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 {
|
||||
|
Reference in New Issue
Block a user