Replace usages of the deprecated TypeTestCase by the new one