### Question:
CredentialDefinitionService { public void checkPropertiesRemoveSensitives(Platform cloudPlatform, Json json) { processValues(getDefinition(cloudPlatform), json); }  void checkPropertiesRemoveSensitives(Platform cloudPlatform, Json json);  }### Answer:
@Test public void testCheckProperties() throws JsonProcessingException { when(resourceDefinitionService.getResourceDefinition(anyString(), anyString())).thenReturn(JsonUtil.writeValueAsString(DEFINITION2)); credentialDefinitionServiceUnderTest.checkPropertiesRemoveSensitives(Platform.platform(PLATFORM), JSON); }