示例#1
0
 @Test
 public void testInThrowsSpaceError1() throws Throwable {
   SpaceLet spaceLet = new SpaceLet();
   try {
     spaceLet.in("", 100L);
     fail("Expected SpaceError to be thrown");
   } catch (SpaceError ex) {
     // expected
   }
 }
示例#2
0
 @Test(expected = SpaceError.class)
 public void testInThrowsSpaceError() throws Throwable {
   SpaceLet spaceLet = new SpaceLet();
   spaceLet.in("");
 }