ClassMetadata { public boolean isClass() { return element.getKind() == ElementKind.CLASS; } ClassMetadata(@Nonnull TypeElement element); @Nonnull String getSimpleName(); @Nonnull ClassName getClassName(); boolean isAbstract(); boolean isClass(); boolean isInterface(); boolean hasDefaultConstructor();  }
@Test public void isClassShouldReturnTrueWithClass() throws Exception { final boolean actual = underTest.isClass(); assertThat(actual) .isTrue(); }