@Test (expected = FederationPolicyException.class)
public void testSplitAllocateRequest() throws Exception {

  // verify the request is broadcasted to all subclusters
  String[] hosts = new String[] {"host1", "host2" };
  List<ResourceRequest> resourceRequests = FederationPoliciesTestUtil
      .createResourceRequests(hosts, 2 * 1024, 2, 1, 3, null, false);
  Map<SubClusterId, List<ResourceRequest>> response =
      ((FederationAMRMProxyPolicy) getPolicy()).splitResourceRequests(
          resourceRequests, new HashSet<SubClusterId>());
}