@Test
public void resolveScope() {

    ScannerContext scannerContext = mock(ScannerContext.class);
    Scanner scanner = new ScannerImpl(new ScannerConfiguration(), emptyMap(), scannerContext, scannerPluginRepository);
    Assert.assertThat(scanner.resolveScope("default:none"), equalTo(DefaultScope.NONE));
    Assert.assertThat(scanner.resolveScope("unknown"), equalTo(DefaultScope.NONE));
    Assert.assertThat(scanner.resolveScope(null), equalTo(DefaultScope.NONE));
}