Rest Jnuit test case added using EasyMock