### Question:
Signature { public static Signature of(String name) { return of(Time.now(), name); }  static Signature of(String name); static Signature of(LocalDateTime dateTime, String name); static Signature anonymous(); static Signature none(); Signature withTime(LocalDateTime dateTime);  }### Answer:
@Test public void testOf() { Signature s = Signature.of("Test"); assertNotNull(s); assertNotNull(s.getTime()); assertNotNull(s.getUser()); assertEquals("Test", s.getUser().getName()); }
@Test public void testOfWithDateTime() { Signature s = Signature.of(TestUtils.dateTime(), "Test"); assertNotNull(s); assertEquals(TestUtils.dateTime(), s.getTime()); assertNotNull(s.getUser()); assertEquals("Test", s.getUser().getName()); }