ClassImpl extends ClassOrInterfaceImpl<Class> implements Class { @Override public Optional<Type> getSupertype() { return Optional.ofNullable(superType); } ClassImpl(String name); protected  ClassImpl(Class prototype); @Override Class setSupertype(Type superType); @Override Optional<Type> getSupertype(); @Override List<Constructor> getConstructors(); @Override ClassImpl copy(); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test void getSupertype() { assertEquals(Optional.empty(), instance().getSupertype()); }