public void GetByIdFromRepoNegative() { FakeLoanRepository repo = new FakeLoanRepository(); LoanModel loan = repo.Get(4); Assert.IsNull(loan); }
public void GetByIdFromRepo() { FakeLoanRepository repo = new FakeLoanRepository(); LoanModel loan = repo.Get(1); Assert.IsNotNull(loan); }