@Test
public void testRequeueTaskType() throws Exception {

    when(mockTaskService.requeuePendingTask(anyString())).thenReturn("1");
    assertEquals("1", taskResource.requeuePendingTask("SIMPLE"));
}