, , .
If he is, he must have his own mission. And this mission can do something; for example, another state of the object.
So, while testing this “other” object, you may be able to indirectly test your inner class.
But a good start can be questioned if you really need to have this inner class. If you intend to write TTDD (Testable Test Driven Development), your design may require a different architecture.
source
share