### Question:
LoggerContext { public LoggerContext(Supplier<String> stringProvider) { this.stringProvider = stringProvider; } LoggerContext(Supplier<String> stringProvider); static Builder builder(String name); static Builder builder(Class clazz); @Override String toString();  }### Answer:
@Test public void testLoggerContext() throws Exception { LoggerContext context = LoggerContext.builder("test") .addValue(1) .add("foo", "bar") .build(); assertEquals("test{1}{foo=bar}", context.toString()); }