func (s *UserListCommandSuite) newUserListCommand() cmd.Command { clock := &fakeClock{now: time.Date(2016, 9, 15, 12, 0, 0, 0, time.UTC)} api := &fakeUserListAPI{clock} return user.NewListCommandForTest(api, api, s.store, clock) }
func newUserListCommand() cmd.Command { return user.NewListCommandForTest(&fakeUserListAPI{}) }