}
// Only perform property testing for Cloud Foundry servers.
if (cloudFoundryServer != null) {
CloudFoundryProperties cfProperty = CloudFoundryProperties.valueOf(property);
if (cfProperty != null && expectedValue instanceof Boolean) {
return ((Boolean) expectedValue).booleanValue() == cfProperty.testProperty(serverModule != null ? serverModule.getModule() : null,
cloudFoundryServer);
}
}
return false;