I\'m trying to do a little Test-First development, and I\'m trying to verify that my classes are marked with an attribute:
[SubControllerActionToViewDataAttr
I know this thread is really old, but if somebody stumble upon on it you may find fluentassertions project very convenient for doing this kind of assertions.
typeof(MyPresentationModel).Should().BeDecoratedWith();