query: write unit test for a method which make calls to other private methods of the same class in java. how to mock private method
positive_passages.docid: 90296
positive_passages.text: Should I test private methods or only public ones?
negative_passages.docid: 12516
negative_passages.text: How can I find the method that called the current method?
negative_passages.docid: 70732
negative_passages.text: How can I throw an exception for the whole class instead of doing it method by method
negative_passages.docid: 70956
negative_passages.text: Is there something like self for class methods?
negative_passages.docid: 41609
negative_passages.text: Unit testing a class that uses a Timer
negative_passages.docid: 91833
negative_passages.text: Unit testing a multithreaded application?
negative_passages.docid: 11153
negative_passages.text: Expose a private Objective-C method or property to subclasses
negative_passages.docid: 36705
negative_passages.text: How to read the value of a private field from a different class in Java?
negative_passages.docid: 63077
negative_passages.text: Why can I access my private variables of the "other" object directly, in my equals(Object o) method
negative_passages.docid: 80834
negative_passages.text: How do I make 2 comparable methods in only one class?
negative_passages.docid: 26273
negative_passages.text: Best way to define private methods for a class in Objective-C
negative_passages.docid: 86578
negative_passages.text: How to use helper/private methods with a .module file?
negative_passages.docid: 56323
negative_passages.text: Instantiate private inner class with java reflection
negative_passages.docid: 59163
negative_passages.text: How can a derived class invoke private method of base class?
negative_passages.docid: 131693
negative_passages.text: Android unit tests with multiple threads
negative_passages.docid: 137841
negative_passages.text: Private Interfaces
negative_passages.docid: 144348
negative_passages.text: How can I create my own methods which take a block as an argument and which I can call later?