MethodImpl implements Method { @Override public Set<Modifier> getModifiers() { return modifiers; } MethodImpl(String name, Type type); protected  MethodImpl(final Method prototype); @Override Method setParent(HasMethods<?> parent); @Override Optional<HasMethods<?>> getParent(); @Override String getName(); @Override Method setName(String name); @Override List<Import> getImports(); @Override Type getType(); @Override Method set(Type type); @Override List<Field> getFields(); @Override List<String> getCode(); @Override Set<Modifier> getModifiers(); @Override Method set(Javadoc doc); @Override Optional<Javadoc> getJavadoc(); @Override List<AnnotationUsage> getAnnotations(); @Override List<Generic> getGenerics(); @Override Set<Type> getExceptions(); @Override MethodImpl copy(); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test void getModifiers() { assertTrue(instance().getModifiers().isEmpty()); }