@Override
@Test(expected = FederationPolicyException.class)
public void testNullQueueRouting() throws YarnException {

  FederationRouterPolicy localPolicy = (FederationRouterPolicy) getPolicy();
  ApplicationSubmissionContext applicationSubmissionContext =
      ApplicationSubmissionContext.newInstance(null, null, null, null, null,
          false, false, 0, Resources.none(), null, false, null, null);
  localPolicy.getHomeSubcluster(applicationSubmissionContext, null);
}