<PackageReference Include="nunit" Version="2.5.10.11092" />

Mock

public class Mock : IMock, IVerify, ICallHandler
public Exception LastException { get; }

public string Name { get; }

public bool Strict { get; set; }

public Mock()

public Mock(string name)

public virtual object Call(string methodName, object[] args)

public void Expect(string methodName, object[] args)

public void Expect(string methodName)

public void ExpectAndReturn(string methodName, object returnVal, object[] args)

public void ExpectAndThrow(string methodName, Exception exception, object[] args)

public void ExpectNoCall(string methodName)

public void SetReturnValue(string methodName, object returnVal)

public virtual void Verify()