svoid assertIsInstance(Class type, O o) { if (!isInstance(type, o)) fail(getClass(o) + " is not a subclass of " + type); }