public void HasAttribute_AttributeFound() { var obj = new FakeObject(); Assert.That(obj.HasAttribute <FakeAttribute>("TestMethod"), Is.True); }
public void HasAttribute_NoMethodFound() { var obj = new FakeObject(); Assert.That(obj.HasAttribute <FakeAttribute>("IncorrectMethod"), Is.False); }