Changes:
- Add tests for untested unused methods (where YAGNI does not hold).
- Remove untested unused methods (where YAGNI holds).
Rationale:
- Quoting the words of wisdom from Beyoncé's hit song "Unused Method Put a Test on It" from the 2008 album "I Am... A Unit of Test":
Cause if you liked it, then you should have put a test on it If you liked it, then you should have put a test on it Don't be mad once you see that they remove it If you liked it, then you should have put a test on it Oh, oh, oh Oh, oh, oh, oh, oh, oh Oh, oh, oh Oh, oh, oh Oh, oh, oh, oh, oh, oh Oh, oh, oh Cause if you liked it, then you should have put a test on it If you liked it, then you should have put a test on it Don't be mad once you see that they remove it If you liked it, then you should have put a test on it
Notes to reviewers:
- I believe this change to be exhaustive -- no unused methods should be left to discover in the code base (excluding dependencies) after the merge of this PR. Any counter-examples would be very welcome so that I can revisit my methodology!
- Let me know if there are any open PR:s making use of any of these methods, or if there is any compelling evidence that the YAGNI principle does not hold for any of those methods :-)