Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make testing of inaccessible methods easier
While it's generally frowned upon testing privates, it can often be useful and the easier way to write tests. Eg you want to test something complicated method that is important, but you do not want to expose it directly to other classes... This new method uses reflection to make access to such methods possible from within tests without the need for intermediate classes.
- Loading branch information