private void assertConfigurationIds(String resourcePath, String... configurationIds) {
   List<String> expectedConfigurationIds = ImmutableList.copyOf(configurationIds);
   when(resource.getPath()).thenReturn(resourcePath);
   List<String> detectedConfigurationIds =
       ImmutableList.copyOf(underTest.findConfigurationIds(resource));
   assertEquals(expectedConfigurationIds, detectedConfigurationIds);
 }