Exemplo n.º 1
0
 public void ItemDescription_ShouldHaveMaxLength_200()
 {
     //---------------Set up test pack-------------------
     var loan = new Loan();
     //---------------Assert Precondition----------------
     //---------------Execute Test ----------------------
     loan.ShouldHaveMaxLengthOf(200, l => l.ItemDescription);
     //---------------Test Result -----------------------
 }
Exemplo n.º 2
0
 public void BorrowerName_ShouldHaveMaxLenght_100()
 {
     //---------------Set up test pack-------------------
     var loan = new Loan();
     //---------------Assert Precondition----------------
     //---------------Execute Test ----------------------
     loan.ShouldHaveMaxLengthOf(100, l => l.BorrowerName);
     //---------------Test Result -----------------------
 }