public void GetAccounts_Exception()
 {
     _rulesRepoMock.Setup(x => x.GetAccounts()).Returns(new List <Account> {
     });
     Assert.That(() => _rulesRepo.GetAccounts(), Throws.Exception);
 }