public void CantPassNullArgumentsToAddAction()
        {
            var expectation = new Expectation(invocationMatcher, exactlyOnceNumberOfInvocationsConstraint);

            Assert.Throws <ArgumentNullException>(() => expectation.AddAction(null));
        }
Example #2
0
 protected void AppendAction(IAction action)
 {
     expectation.AddAction(action);
 }