ClassMetadata { @Nonnull @SuppressWarnings("WeakerAccess") protected List<ExecutableElement> getMethods() { return new ArrayList<>(methods); } ClassMetadata(@Nonnull TypeElement element); @Nonnull String getSimpleName(); @Nonnull ClassName getClassName(); boolean isAbstract(); boolean isClass(); boolean isInterface(); boolean hasDefaultConstructor();  }
@Test public void getMethodsShouldReturnListOfMethods() throws Exception { final List<ExecutableElement> actual = underTest.getMethods(); assertThat(actual) .isNotEmpty(); }