@Test
    @Issue("Issue #173")
    @ConfiguredWithCode("SetEnvironmentVariable.yml")
    void shouldSetEnvironmentVariable(JenkinsConfiguredWithCodeRule j) throws Exception {
        final DescribableList<NodeProperty<?>, NodePropertyDescriptor> properties =
                Jenkins.get().getNodeProperties();
        EnvVars env = new EnvVars();
        for (NodeProperty<?> property : properties) {
            property.buildEnvVars(env, TaskListener.NULL);
        }
        assertEquals("BAR", env.get("FOO"));
    }
@author <a href="mailto:nicolas.deloof@gmail.com">Nicolas De Loof</a>
test-harness/src/test/java/io/jenkins/plugins/casc/core/JenkinsConfiguratorTest.java