    @Test(expected = RuntimeException.class)
    public void whenValueTypeUnsupported_exceptionIsThrown() {

        // Arrange
        environment.properties.put("test", new Environment());

        // Act
        environment.getProperty("test", new Environment());
    }