|
@@ -1162,6 +1162,8 @@ public class TestConfiguration extends TestCase {
|
|
|
fail("Should throw an IllegalArgumentException exception ");
|
|
|
} catch (Exception e) {
|
|
|
assertTrue(e instanceof IllegalArgumentException);
|
|
|
+ assertEquals(e.getMessage(),
|
|
|
+ "The value of property testClassName must not be null");
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -1172,6 +1174,7 @@ public class TestConfiguration extends TestCase {
|
|
|
fail("Should throw an IllegalArgumentException exception ");
|
|
|
} catch (Exception e) {
|
|
|
assertTrue(e instanceof IllegalArgumentException);
|
|
|
+ assertEquals(e.getMessage(), "Property name must not be null");
|
|
|
}
|
|
|
}
|
|
|
|