public class TargetHostManagerTest extends TargetHostManagerBase {
@Test
public void simpleNoHealthCheck() {
Api api = newApi(null);
dataManager.addApi(api);
targetHostManager.registerAPI(api.getId());
for(APIContext context : api.getApiDetail().getContexts()) {
List<TargetReference> references = targetHostManager.getTargetReferences(api.getId(), context.getId());
// We have same as many targetreference as targethost in the context
assertTrue("Number of target references == than number of target hosts", references.size() == context.getTargetHosts().size());
for(TargetReference target : references) {