### Question:
ServicePolicyPutRequest { @JsonProperty("policy") public Policy getPolicy() { return policy; } ServicePolicyPutRequest(UUID serviceId, Policy policy); @JsonProperty("service_id") UUID getServiceId(); @JsonProperty("policy") Policy getPolicy();  }### Answer:
@Test public void getPolicy() throws Exception { Policy expected = mock(Policy.class); assertEquals(expected, new ServicePolicyPutRequest(null, expected).getPolicy()); }