@Test public void constructor_shouldCreateAnEmptyContext_givenAProviderThatReturnsNull() throws Exception { assertEquals(emptyMap(), new DiagnosticContext(() -> null).getContext()); }
public Map<String, String> getContext() { return context; }
DiagnosticContext { public Map<String, String> getContext() { return context; } }
DiagnosticContext { public Map<String, String> getContext() { return context; } DiagnosticContext(DiagnosticContextSupplier supplier); }
DiagnosticContext { public Map<String, String> getContext() { return context; } DiagnosticContext(DiagnosticContextSupplier supplier); Map<String, String> getContext(); void printContextInformation(StringBuilder result); }
DiagnosticContext { public Map<String, String> getContext() { return context; } DiagnosticContext(DiagnosticContextSupplier supplier); Map<String, String> getContext(); void printContextInformation(StringBuilder result);  }