Definition of AEvent and derived MyExampleEvent with green test. Definition RED test which checks ChildType property.