@Test public void testConstructor2() { PolicyRestAdapter policyAdapter = new PolicyRestAdapter(); OptimizationConfigPolicy policy = new OptimizationConfigPolicy(policyAdapter); assertNull(policy.getCorrectPolicyDataObject()); }
@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();  }