@Test
public void shouldReturnEmptyCollectionIfWebinfClassesNotFound() throws Exception {

	URL webinfLocation = new URL("file:/a/url/that/not-found");
	when(classPathResolver.findWebInfClassesLocation()).thenReturn(webinfLocation);
	
ScannotationComponentScanner scanner = new ScannotationComponentScanner();
assertThat(scanner.scan(classPathResolver), hasSize(0));
}