@Test
public void arrayWithCustomLocationShouldBeReturnedWhenBothDefaultAndCustomResourcesExist() {
// given
Class<ClientXmlAnnotatedClassWithBothCustomAndDefaultLocations> wrappedClass = ClientXmlAnnotatedClassWithBothCustomAndDefaultLocations.class;
SpringClientConfiguration testClassAnnotation = wrappedClass.getAnnotation(SpringClientConfiguration.class);
String[] expectedLocationNames = testClassAnnotation.value();
// when
String[] defaultLocations = locationsProcessor.processLocations(testClassAnnotation.value(), wrappedClass);
// then
assertThat(defaultLocations).hasSize(expectedLocationNames.length);
assertThat(defaultLocations).containsOnly((Object[]) expectedLocationNames);
}