@Test
public void testSetProperty() {

    // TEST setting a new Integer & retrieving using various methods
    Object prop = configurationService.getPropertyValue("newOne");
    assertNull(prop);
    boolean changed = configurationService.setProperty("newOne", "1111111");
    assertTrue(changed);
    prop = configurationService.getPropertyValue("newOne");
    assertNotNull(prop);
    assertEquals("1111111", prop);
    int i = configurationService.getIntProperty("newOne");
    assertEquals(1111111, i);
    // Test Setting a new Boolean and retrieving through various methods
    prop = configurationService.getPropertyValue("newBool");
    assertNull(prop);
    changed = configurationService.setProperty("newBool", true);
    assertTrue(changed);
    prop = configurationService.getPropertyValue("newBool");
    assertNotNull(prop);
    assertEquals(Boolean.TRUE, prop);
    boolean b = configurationService.getBooleanProperty("newBool");
    assertEquals(true, b);
    changed = configurationService.setProperty("newBool", true);
    assertFalse(changed);
    changed = configurationService.setProperty("newBool", null);
    assertTrue(changed);
    prop = configurationService.getPropertyValue("newBool");
    assertNull(prop);
    // Test Setting a new String and retrieving through various methods
    prop = configurationService.getPropertyValue("newString");
    assertNull(prop);
    changed = configurationService.setProperty("newString", "  Hi There      ");
    assertTrue(changed);
    // Assert strings are trimmed
    String s = configurationService.getProperty("newString");
    assertNotNull(s);
    assertEquals("Hi There", s);
    // Clear out our new props
    configurationService.clearConfig("newOne");
    configurationService.clearConfig("newBool");
    configurationService.clearConfig("newString");
    prop = null;
}