peter_backlund 17 лет назад
Родитель
Сommit
8fff358b41

+ 0
- 8
dddsample/src/test/java/se/citerus/dddsample/application/BookingServiceTest.java Просмотреть файл

@@ -45,14 +45,6 @@ public class BookingServiceTest extends TestCase {
45 45
     assertEquals(expectedTrackingId, trackingId);
46 46
   }
47 47
 
48
-  public void testRegisterNewNullArguments() {
49
-    replay(cargoRepository, locationRepository);
50
-    try {
51
-      bookingService.bookNewCargo(null, null, null);
52
-      fail("Null arguments should not be allowed");
53
-    } catch (IllegalArgumentException expected) {}
54
-  }
55
-
56 48
   protected void tearDown() throws Exception {
57 49
     verify(cargoRepository, locationRepository);
58 50
   }