	@Test
	public void should_haveErrors_inAsResults_if_the_second_is_unsucessful() {

		// given
		unitResult = Mockito.mock(GenerationUnitGenerationResult.class);
		Mockito.when(unitResult.isSuccess()).thenReturn(Boolean.TRUE);
		
		unitResult2 = Mockito.mock(GenerationUnitGenerationResult.class);
		Mockito.when(unitResult2.isSuccess()).thenReturn(Boolean.FALSE);
		
		List<GenerationUnitGenerationResult> applicationServerResults = new ArrayList<GenerationUnitGenerationResult>();
		
		applicationServerResults.add(unitResult);
		applicationServerResults.add(unitResult2);
		
		result.setApplicationServerResults(applicationServerResults);
		// when
		
		// then
		assertTrue(result.hasErrors());
	}