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

    IScope scope = mock(IScope.class);
    IScopeFactory factory = mock(IScopeFactory.class);
    IScopeProviderContainer scopeProviderContainer = new ScopeProviderContainer(factory);
    scopeProviderContainer.addScope(null, scope);
    fail();
}