StringValue extends ValueAdapter { @Override public Type type() { return InternalTypeSystem.TYPE_SYSTEM.STRING(); } StringValue( String val ); @Override boolean isEmpty(); @Override int size(); @Override String asObject(); @Override String asString(); @Override String toString(); @Override Type type(); @Override boolean equals( Object o ); @Override int hashCode();  }
@Test void shouldHaveStringType() { InternalValue value = new StringValue( "Spongebob" ); assertThat( value.type(), equalTo( InternalTypeSystem.TYPE_SYSTEM.STRING() ) ); }