@Test
public void testPolicyInfoSetCorrectly() throws Exception {

  serializeAndDeserializePolicyManager(wfp, expectedPolicyManager,
      expectedAMRMProxyPolicy, expectedRouterPolicy);
  // check the policyInfo propagates through ser/der correctly
  Assert.assertEquals(
      ((PriorityBroadcastPolicyManager) wfp).getWeightedPolicyInfo(),
      policyInfo);
}