@Test
public void testOneSubclusterIsChosen() throws YarnException {

  SubClusterId chosen = ((FederationRouterPolicy) getPolicy())
      .getHomeSubcluster(getApplicationSubmissionContext(), null);
  Assert.assertTrue(getActiveSubclusters().keySet().contains(chosen));
}