@Test public void testCallNumberIsEmpty() { try { Book callNumberIsEmpty = new Book("Bob Jones", "Subject", "", 4); callNumberIsEmpty.getCallNumber(); fail("Illegal Argument Exception"); } catch (IllegalArgumentException e) { assertTrue(true); } }
@Test public void testGetCallNumber() { assertEquals("callNumber", BookTesting.getCallNumber()); }