@Test
public void testGetServices_redundantAccessToServices() {

    for(int i=0;i<10;i++){
        Collection<InvalidPriorityInterface> services = context.getServices(InvalidPriorityInterface.class);
        assertThat(services).isNotNull();
        assertThat(services).hasSize(2);
        for (InvalidPriorityInterface service : services) {
            assertThat(service instanceof InvalidPriorityImpl1 || service instanceof InvalidPriorityImpl2).isTrue();
        }
    }
}