	@Test
	public void testDelete() throws Exception {

		Projects projects = Mockito.mock(Projects.class);

		action = new CreateDeleteProjectAction(dir, true);
		action.setProjects(projects);

		AvailableLaterWaiter.await(action);
		Mockito.verify(projects).remove(dir);
		Mockito.verifyNoMoreInteractions(projects);
	}