### Question:
StagingMoveMojo extends StagingActionMojo { @VisibleForTesting Map<String, String> createSearchCriteria(final String repository, final String tag) { return SearchBuilder.create().withRepository(repository).withTag(tag).build(); }  @Override void execute();  }### Answer:
@Test public void testGetSearchCriteria() throws Exception { Map<String, String> expectedCriteria = ImmutableMap.of("repository", "foo", "tag", "bah"); assertThat(underTest.createSearchCriteria("foo", "bah"), equalTo(expectedCriteria)); }