public void rObjectsReturnsCorrectResult(object[] objects)
        {
            var sut = new EventInfoElementRefraction <object>();

            var actual = sut.Refract(objects);

            var expected = objects
                           .OfType <EventInfo>()
                           .Select(ei => new EventInfoElement(ei))
                           .Cast <IReflectionElement>();

            Assert.Equal(expected, actual);
        }
        public void rNullSourceThrows()
        {
            var sut = new EventInfoElementRefraction <object>();

            Assert.Throws <ArgumentNullException>(() => sut.Refract(null));
        }