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

Guard

public class Guard
Class used to guard against unexpected argument values by throwing an appropriate exception.
public Guard()

public static void ArgumentNotNull(object value, string name)

Throws an exception if an argument is null

public static void ArgumentNotNullOrEmpty(string value, string name)

Throws an exception if a string argument is null or empty