public void TestStartTransfer() { Message call = new Message(); call.Add(startTransfer); Expect.Once.On(mockDevice).Method("SendDataToEP1").With(call.ToArray()); dds.Start_Transfer(); mocks.VerifyAllExpectationsHaveBeenMet(); }
public void TestStartTransfer() { Message call = new Message(); call.Add(startTransfer); Expect.Once.On(mockDevice).Method("SendDataToEP1").With(call.ToArray()); dds.Start_Transfer(); mocks.VerifyAllExpectationsHaveBeenMet(); }