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

    IScopeFactory factory = mock(IScopeFactory.class);
    IScopeProviderContainer scopeProviderContainer = new ScopeProviderContainer(factory);
    scopeProviderContainer.subscribeOnCreationNewScope(null);
}