reads event syntax from a child class and stores them in an event object list
Inheritance: SyntaxWalkerWithSemantic
        public void VisitEventDeclaration()
        {
            WithSourceFiles(Files.ChildClass);
            var childClass = CreateClass(nameof(ChildClassWithEvent));

            var eventList = new EventList();
            var eventSyntaxReader = new EventSyntaxReader(eventList, Semantic);

            eventSyntaxReader.Visit(childClass.SourceCode);

            Assert.IsNotEmpty(eventList);
            Assert.AreEqual("SomethingHappened", eventList.Single().Name);
        }