assertIsNotNone replaced