public void GetClientAccounts_ClientNotNull()
        {
            IRepository repository = _mocks.Stub<IRepository>();
            IAccountRepository accountRepository = _mocks.Stub<IAccountRepository>();

            Client client = new Client { Id = 3 };
            IList<Account> accounts = new List<Account>();

            Expect.Call(accountRepository.GetAccountsByClient(3)).Return(accounts);

            _mocks.ReplayAll();

            AccountServices services = new AccountServices(repository, accountRepository);
            services.GetClientAccounts(client);

            _mocks.VerifyAll();
        }
        public void GetClientAccounts_ClientIsNull()
        {
            IRepository repository = _mocks.Stub<IRepository>();
            IAccountRepository accountRepository = _mocks.Stub<IAccountRepository>();

            AccountServices services = new AccountServices(repository, accountRepository);
            services.GetClientAccounts(null);
        }