NodeValue extends EntityValueAdapter<Node> { @Override public Type type() { return InternalTypeSystem.TYPE_SYSTEM.NODE(); } NodeValue( Node adapted ); @Override Node asNode(); @Override Type type();  }
@Test void shouldHaveCorrectType() { assertThat( emptyNodeValue().type(), equalTo( InternalTypeSystem.TYPE_SYSTEM.NODE() )); }