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