@Test
public void testGetProperties() throws Exception {

    checkWithSystemProperties(testPropertySource.getProperties());
    // modify system properties
    System.setProperty("test", "myTestVal");
    checkWithSystemProperties(testPropertySource.getProperties());
    // cleanup
    System.clearProperty("test");
}