public void CantPassNullArgumentsToAddAction() { var expectation = new Expectation(invocationMatcher, exactlyOnceNumberOfInvocationsConstraint); Assert.Throws <ArgumentNullException>(() => expectation.AddAction(null)); }
protected void AppendAction(IAction action) { expectation.AddAction(action); }