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