}
};
- singletonServiceGroup = new ActiveServiceGroup(SERVICE_IDENTIFIER, MAIN_ENTITY, CLOSE_ENTITY, mockEosService);
+ singletonServiceGroup = new ActiveServiceGroup(SERVICE_GROUP_IDENT, MAIN_ENTITY, CLOSE_ENTITY, mockEosService);
}
/**
() -> new ActiveServiceGroup(null, MAIN_ENTITY, CLOSE_ENTITY, mockEosService));
}
- /**
- * Test empty ServiceIdent input for new ServiceGroup instance.
- */
- @Test
- public void instantiationClusterSingletonServiceGroupEmptyIdentTest() {
- assertThrows(IllegalArgumentException.class,
- () -> new ActiveServiceGroup("", MAIN_ENTITY, CLOSE_ENTITY, mockEosService));
- }
-
/**
* Test NULL MainEntity input for new ServiceGroup instance.
*/
@Test
public void instantiationClusterSingletonServiceGroupNullMainEntityTest() {
assertThrows(NullPointerException.class,
- () -> new ActiveServiceGroup(SERVICE_IDENTIFIER, null, CLOSE_ENTITY, mockEosService));
+ () -> new ActiveServiceGroup(SERVICE_GROUP_IDENT, null, CLOSE_ENTITY, mockEosService));
}
/**
@Test
public void instantiationClusterSingletonServiceGroupNullCloseEntityTest() {
assertThrows(NullPointerException.class,
- () -> new ActiveServiceGroup(SERVICE_IDENTIFIER, MAIN_ENTITY, null, mockEosService));
+ () -> new ActiveServiceGroup(SERVICE_GROUP_IDENT, MAIN_ENTITY, null, mockEosService));
}
/**
@Test
public void instantiationClusterSingletonServiceGroupNullEOS_Test() {
assertThrows(NullPointerException.class,
- () -> new ActiveServiceGroup(SERVICE_IDENTIFIER, MAIN_ENTITY, CLOSE_ENTITY, null));
+ () -> new ActiveServiceGroup(SERVICE_GROUP_IDENT, MAIN_ENTITY, CLOSE_ENTITY, null));
}
/**