ClassMetadata { @Nonnull public String getSimpleName() { return element.getSimpleName().toString(); } ClassMetadata(@Nonnull TypeElement element); @Nonnull String getSimpleName(); @Nonnull ClassName getClassName(); boolean isAbstract(); boolean isClass(); boolean isInterface(); boolean hasDefaultConstructor();  }
@Test public void getSimpleNameShouldReturnClassName() throws Exception { final String actual = underTest.getSimpleName(); assertThat(actual) .isEqualTo("String"); }