I've added this for testing purposes only.
Do you think its better to use Mockito or reflection to change the visibility of the method for testing? (Or is there even a better approach for that?)