This projects contains two tests: Creating a partial mock of a Swing component. The same, but calling the constructor of the Swing component. The tests fail using EasyMock 5.1.0, but pass using EasyMock 5.0.1.