예제 #1
0
 @Test(expected = NoSuchElementException.class)
 public void RemoveTester2() {
   assertNull(dir.remove("Me", "Phone"));
 }
예제 #2
0
 @Test(expected = NoSuchElementException.class)
 public void RemoveTester3() {
   dir.put("Bob", "Phone", "2");
   assertNull(dir.remove("Me", "Phone"));
 }
예제 #3
0
 @Test(expected = NoSuchElementException.class)
 public void RemoveTester() {
   dir.put("Horstmann", "Phone", "2");
   dir.remove("Horstmann", "Phone");
   assertNull(dir.get("Horstmann", "Phone"));
 }