@Test(expected = IllegalArgumentException.class)
public void shouldNotArchiveProjectIfItIsAlreadyArchived() {

  String projectName = "project1";
  when(projectRepository.findById(projectName)).thenReturn(Optional.empty());
  projectService.archiveProject(projectName);
}