How do you mock a Sealed class? * Cinema Guy 17:14 Add Comment Edit Question Mocking sealed classes can be quite a pain. I currently favor an Adapter pattern to handle this, but something about just keeps ... Read More
Why can't I use a try block around my super() call? * Cinema Guy 14:17 Add Comment Edit Question So, in Java, the first line of your constructor HAS to be a call to super... be it implicitly calling super(), or explicitly callin... Read More
What is Object Mocking and when do I need it? * Cinema Guy 19:37 Add Comment Edit Question Many people use Mock Objects when they are writing unit tests. What is a Mock Object ? Why would I ever need one? Do I need a Mock ... Read More