@Test (expected = ScopeProviderException.class)
public void checkScopeProviderExceptionByGet()
        throws Exception {

    IScopeFactory factory = mock(IScopeFactory.class);
    IScopeProviderContainer scopeProviderContainer = new ScopeProviderContainer(factory);
    scopeProviderContainer.getScope("key1");
    fail();
}