@Test
public void testOrder() {

    List<TestService> services =
            ServiceObjectFactory.createServiceObjects("service/test-services-default", "service/test-services");
    String[] orderExpected = new String[] { "three", "two", "five", "one"};
    assertEquals(services.size(), 4);
    Iterator<TestService> it = services.iterator();
    for (String val : orderExpected) {
        assertEquals(it.next().getName(),val);
    }
}