Moving getMockTypedDataManager() to RulesTestBase.