@Test
public void deleteProjectRequestTest() throws QuadrigaStorageException, QuadrigaAccessException{

    String mockProjectId = "testProjectId";
    RedirectAttributes redirectAttributes = Mockito.mock(RedirectAttributes.class);
    ArrayList<String> projectIdList = new ArrayList<String>();
    projectIdList.add(mockProjectId);
    
    ModelAndView actualModel = deleteProjectController.deleteProjectRequest(mockProjectId, redirectAttributes,principal);
    Mockito.verify(projectManager, Mockito.atLeastOnce()).deleteProjectRequest(projectIdList,principal);
    String expectedViewName = "redirect:/auth/workbench";
    assertEquals(expectedViewName,actualModel.getViewName());
}