Adding test helper to test private methods
Merge pull request #11322 from owncloud/adding-unittest-helper

Adding test helper to test private methods