@Test public void testConstructor1() { thrown.expect(NullPointerException.class); OptimizationConfigPolicy policy = new OptimizationConfigPolicy(); policy.getCorrectPolicyDataObject(); fail("Expected an exception"); }
@Override public Object getCorrectPolicyDataObject() { return policyAdapter.getPolicyData(); }
OptimizationConfigPolicy extends Policy { @Override public Object getCorrectPolicyDataObject() { return policyAdapter.getPolicyData(); } }
OptimizationConfigPolicy extends Policy { @Override public Object getCorrectPolicyDataObject() { return policyAdapter.getPolicyData(); } OptimizationConfigPolicy();  OptimizationConfigPolicy(PolicyRestAdapter policyAdapter); }
OptimizationConfigPolicy extends Policy { @Override public Object getCorrectPolicyDataObject() { return policyAdapter.getPolicyData(); } OptimizationConfigPolicy();  OptimizationConfigPolicy(PolicyRestAdapter policyAdapter); @Override Map<String, String> savePolicies(); @Override boolean prepareToSave(); @Override Object getCorrectPolicyDataObject(); }
OptimizationConfigPolicy extends Policy { @Override public Object getCorrectPolicyDataObject() { return policyAdapter.getPolicyData(); } OptimizationConfigPolicy();  OptimizationConfigPolicy(PolicyRestAdapter policyAdapter); @Override Map<String, String> savePolicies(); @Override boolean prepareToSave(); @Override Object getCorrectPolicyDataObject();  }