@Test
    public void _string_env() throws Exception {
        environment.set("ENV_FOR_TEST", "abc");
        Configurator c = registry.lookupOrFail(String.class);
        final Object value = c.configure(new Scalar("${ENV_FOR_TEST}"), context);
        assertEquals("abc", value);
    }
@author <a href="mailto:nicolas.deloof@gmail.com">Nicolas De Loof</a>
plugin/src/test/java/io/jenkins/plugins/casc/impl/configurators/PrimitiveConfiguratorTest.java