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