Project projectB = createFreeStyleProject("projectB");
// projectB defaults: FOO=bar BAR=override-me
// Invoke projectA with: BAR=foo BAZ=override-me
// Merge in predefined: BAZ=moo HOHO=blah
// Expected result: FOO=bar BAR=foo BAZ=moo HOHO=blah
projectB.addProperty(new ParametersDefinitionProperty(
new StringParameterDefinition("FOO", "bar"),
new StringParameterDefinition("BAR", "override-me")));
CaptureEnvironmentBuilder builder = new CaptureEnvironmentBuilder();
projectB.getBuildersList().add(builder);
projectB.setQuietPeriod(1);