### Question:
ProcessManagerStatus { public String getJsonRegistriesStatus() { JsonArrayBuilder arrayBuilder = Json.createArrayBuilder(); registriesStatus.forEach((key, value) -> { JsonObjectBuilder objectBuilder = Json.createObjectBuilder() .add("id", key) .add("linkStatus", value.toString()); arrayBuilder.add(objectBuilder); }); return arrayBuilder.build().toString(); } ProcessManagerStatus(); String getJsonMicroservicesStatus(); String getJsonRegistriesStatus(); int getRunningMicroservicesCount(); ProcessManagerStatus setRunningMicroservicesCount(int count); ProcessManagerStatus setMicroservicesStatus(String microserviceUuid, MicroserviceStatus status); ProcessManagerStatus setMicroservicesState(String microserviceUuid, MicroserviceState state); MicroserviceStatus getMicroserviceStatus(String microserviceUuid); void removeNotRunningMicroserviceStatus(); int getRegistriesCount(); Map<Integer, LinkStatus> getRegistriesStatus(); ProcessManagerStatus setMicroservicesStatePercentage(String microserviceUuid, float percentage);  }### Answer:
@Test public void testGetJsonRegistriesStatus() { assertEquals(arrayBuilder.build().toString(), processManagerStatus.getJsonRegistriesStatus()); }