public void ScourerHaveEvents()
        {
            var eventsList = new List <Type>()
            {
                typeof(ISnedEvent),
                typeof(EventFor2)
            };

            _scourer.Scour();

            eventsList.Should().BeEquivalentTo(_scourer.Events);
        }
        public DocFormat GenerateFormat()
        {
            var format = new DocFormat
            {
                MiddleWareVersion = "v1.0"
            };

            _scourer.Scour();
            _xmlReader.Load(_scourer.ExecutionAssembly.GetDocumentPath());

            format.Service     = GenerateService();
            format.Definitions = GenerateAllDefinitions().ToList();
            format.Types       = GenerateAllTypes().ToList();

            return(format);
        }