public void Should_ThrowException_When_InvalidId()
            {
                var context = new ScopeBuilderContext();

                Action action = () =>
                {
                    context.GetDiscoverableSpecificationScope(321);
                };

                action.Should().ThrowExactly <KeyNotFoundException>();
            }
            public void Should_GetSpecificationScope()
            {
                var context = new ScopeBuilderContext();

                Specification <TestClass> specification = m => m;

                var specificationScopeId = context.GetOrRegisterSpecificationScope(specification);

                var discoverableSpecificationScope = context.GetDiscoverableSpecificationScope(specificationScopeId);

                discoverableSpecificationScope.Should().BeSameAs(context.Scopes[specificationScopeId]);
            }