<PackageReference Include="NUnit" Version="4.2.2" />

NUnit.Framework.Constraints.AttributeExistsConstraint

AttributeExistsConstraint tests for the presence of a specified attribute on a Type.
namespace NUnit.Framework.Constraints { public class AttributeExistsConstraint : Constraint { public AttributeExistsConstraint(Type type); } }