### Question:
PriorityBroadcastPolicyManager extends AbstractPolicyManager { @VisibleForTesting public WeightedPolicyInfo getWeightedPolicyInfo() { return weightedPolicyInfo; } PriorityBroadcastPolicyManager(); @Override SubClusterPolicyConfiguration serializeConf(); @VisibleForTesting WeightedPolicyInfo getWeightedPolicyInfo(); @VisibleForTesting void setWeightedPolicyInfo(WeightedPolicyInfo weightedPolicyInfo);  }### Answer:
@Test public void testPolicyInfoSetCorrectly() throws Exception { serializeAndDeserializePolicyManager(wfp, expectedPolicyManager, expectedAMRMProxyPolicy, expectedRouterPolicy); Assert.assertEquals( ((PriorityBroadcastPolicyManager) wfp).getWeightedPolicyInfo(), policyInfo); }