easymock Tag

EasyMock is a powerful framework to create mock objects to use in Java JUnit tests. When used in an OSGi environment (e.g. to write Eclipse PDE tests), the creation of class extensions can cause trouble. This post describes a problematic use case and possible solutions. The use case Imagine the following situation: an Eclipse RCP application has a bundle A containing a class MyClass. This class has...

Read More