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

NUnit.Framework.Guard

static class Guard
Class used to guard against unexpected argument values or operations by throwing an appropriate exception.
namespace NUnit.Framework.Constraints { public delegate string ValueFormatter (object val); }