EnumValueImpl extends ValueImpl<String> implements EnumValue { @Override public EnumValueImpl set(Type type) { this.type = type; return this; } EnumValueImpl(Type type, String value); protected  EnumValueImpl(EnumValue prototype); @Override EnumValueImpl set(Type type); @Override Type getType(); @Override EnumValueImpl copy(); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test void set() { instance().set(Foo2.class); assertEquals(Foo2.class, instance().getType()); }