### Question:
CommentContext { public Optional<String> getMessage() { return message; } CommentContext(
      String className, String methodName, Config config, Method method, String message); String getClassName(); String getMethodName(); Config getConfig(); Optional<Method> getMethod(); Optional<String> getMessage();  }### Answer:
@Test void getMessage() { CommentContext context = new CommentContext("class", "method", new MockConfig(), null, "hello"); assertEquals("hello", context.getMessage().get()); }
@Test void getMessage_empty() { CommentContext context = new CommentContext("class", "method", new MockConfig(), null, null); assertFalse(context.getMessage().isPresent()); }