@Test(expectedExceptions = IllegalStateException.class,expectedExceptionsMessageRegExp = ".*bla\\.blub\\.NotExist.*")
public void errorHandling() {

    List<TestService> service =
            ServiceObjectFactory.createServiceObjects("service/error-services");
}