Kimes

Untitled

Mar 23rd, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.29 KB | None | 0 0
  1. @Test
  2.     public void shouldLendBook_setBorrowersName() {
  3.         Book bookToTest = new Book("TestTitle", "2017", "Kimes", 1);
  4.         String expectedBorrowersName = "Niedzielski";
  5.        
  6.         bookToTest.lendBook(expectedBorrowersName);
  7.        
  8.         assertEquals(expectedBorrowersName, bookToTest.getBorrowersName());
  9.  
  10.     }
Advertisement
Add Comment
Please, Sign In to add comment