I prefer to keep the one I did. Mocking is not always convenient, here I need to do reflection, I think it'll make the test less readable if I mock (and time consuming for me).