Beispiel #1
0
        public void GetAttribute_AttributeFound()
        {
            var obj = new FakeObject();

            Assert.That(obj.GetAttribute <FakeAttribute>("TestMethod"), Is.Not.Null);
        }
Beispiel #2
0
        public void GetAttribute_NoMethodFound()
        {
            var obj = new FakeObject();

            Assert.That(obj.GetAttribute <FakeAttribute>("IncorrectMethod"), Is.Null);
        }