EntityMock Is deprecated

The EntityMock API is part of the legacy Java API and is now deprecated. There is no direct replacement for it, but you can write your own mock code to test against your Java code.