assertIsA is now deprecated