[Test] public void CallMethodWithVariableNumberOfParams() { mock.Expect("WithParams", 1, new object[] { "string1", "string2" }); thingy.WithParams(1, "string1", "string2"); mock.Verify(); }