@VisibleForTesting
  public WeightedPolicyInfo getWeightedPolicyInfo() {
    return weightedPolicyInfo;
  }
@Test
  public void testPolicyInfoSetCorrectly() throws Exception {
    serializeAndDeserializePolicyManager(wfp, expectedPolicyManager,
        expectedAMRMProxyPolicy, expectedRouterPolicy);
    // check the policyInfo propagates through ser/der correctly
    Assert.assertEquals(((WeightedHomePolicyManager) wfp)
        .getWeightedPolicyInfo(), policyInfo);
  }