I have functional testing for the role and permission ObjectManager providers. I think I have no other choice :/.