Unit Testing – EasyMock
In continuation to what we discussed in our previous article regarding Unit Testing -Junit, EasyMock was introduce to avoid the strong dependancy or coupling between the 2 classes. So, in EasyMock we just inject the Class B while Testing a method of Class A (in a way similar to how we do Dependancy Injection in […]