@Test
public void deleteProjectHandleResolverTest() throws QuadrigaException {

    // Creating dummyId
    String id = "123";
    // creating dummy resolver
    IProjectHandleResolver resolver = new ProjectHandleResolver();
    resolver.setId(id);
    // creating dummy projectHandlerResolverDTO
    ProjectHandleResolverDTO projectHandlerResolverDTO = new ProjectHandleResolverDTO();
    projectHandlerResolverDTO.setDescription("sample");
    // creating dummyprojectDTOList
    List<ProjectDTO> projectDTOList = new ArrayList<ProjectDTO>();
    Mockito.when(resolverDao.getProjectsForResolverId(id)).thenReturn(projectDTOList);
    Mockito.when(mapper.mapProjectHandleResolver(resolver)).thenReturn(projectHandlerResolverDTO);
    // Calling the method to test
    boolean deleteStatus = projectHandleResolverManagerUnderTest.deleteProjectHandleResolver(resolver);
    assertEquals(deleteStatus, true);
}