String[] values = { "${key}", "${key2}" };
StringSearchModelInterpolator interpolator = (StringSearchModelInterpolator) createInterpolator();
ProjectBuilderConfiguration config = new DefaultProjectBuilderConfiguration().setExecutionProperties( p );
interpolator.interpolateObject( values, model, new File( "." ), config, true );
assertEquals( "value", values[0] );
assertEquals( "value2", values[1] );