private JavaTypeMapping typeMapping = new JavaTypeMapping();
@Test
public void GetType_With_Subtypes() {
typeMapping.register(new InputStreamType());
assertNotNull(typeMapping.getType(InputStream.class));
assertNotNull(typeMapping.getType(FileInputStream.class));
}