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

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