Kimes

Untitled

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