@Override
    public void run(DiagnosticsLogWriter writer) {
        List<SlowOperationDTO> slowOperations = operationService.getSlowOperationDTOs();
        writer.startSection("SlowOperations");

        if (!slowOperations.isEmpty()) {
            for (SlowOperationDTO slowOperation : slowOperations) {
                render(writer, slowOperation);
            }
        }

        writer.endSection();
    }
@Test
    public void testRun() {
        spawn(() -> {
            hz.getMap("foo").executeOnKey("bar", new SlowEntryProcessor());
        });

        assertTrueEventually(() -> {
            plugin.run(logWriter);
            // TODO: can also include com.hazelcast.map.impl.operation.steps
            //assertContains(EntryOperation.class.getName());
            assertContains("stackTrace");
            assertContains("invocations=1");
            assertContains("startedAt=");
            assertContains("duration(ms)=");
            assertContains("operationDetails=");
        });
    }