@Test
public void testSettingValueNull() throws Exception {

  Configuration config = new Configuration();
  try {
    config.set("testClassName", null);
    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");
  }
}