Had to change the visibility of the class to enable mocking