@Test public void isSubtypeOf_subtype() { assertTrue(BooleanTypeValue.getInstance().isSubtypeOf(TypeTypeValue.getInstance())); }
@Test public void isSubtypeOf_false() { assertFalse(BooleanTypeValue.getInstance().isSubtypeOf(FacadeTypeValue.getInstance())); }
private TypeValue getInstance() { // TypeValue is abstract so we use a simple implementation. return BooleanTypeValue.getInstance(); }