### Question:
ModelMerger { protected void mergePluginExecution( PluginExecution target, PluginExecution source, boolean sourceDominant, Map<Object, Object> context ) { mergeConfigurationContainer( target, source, sourceDominant, context ); mergePluginExecution_Id( target, source, sourceDominant, context ); mergePluginExecution_Phase( target, source, sourceDominant, context ); mergePluginExecution_Goals( target, source, sourceDominant, context ); }  void merge( Model target, Model source, boolean sourceDominant, Map<?, ?> hints );  }### Answer:
@Test public void mergeSameGoals() { PluginExecution target = new PluginExecution(); target.setGoals( Arrays.asList( "first", "second", "third" ) ); PluginExecution source = new PluginExecution(); source.setGoals( Arrays.asList( "first", "second", "third" ) ); modelMerger.mergePluginExecution( target, source, true, null ); assertThat( target.getGoals(), contains( "first", "second", "third" ) ); }