I've been trying to get this scenario tested but I can't find a good way to test it. So this method under test creates a new Object of certain custom type which invokes a method afterwards.Now during debugging when my code reaches to this point it detects new object being created but when it goes into the method it blows up because certain fields are not initialized. There is no relationship between the Class I am testing the and the class for which my test is failing. Without any Mocking framework is there a way to test this. I cannot change the source code too. If it is a bad code can I still test it. I've been trying to get this scenario tested bu