Problem with mocking ObjectManager