Example #1
0
        public void TestSetSingleToneMode()
        {
            // Define what message you expect
            Message call = new Message();

            call.Add(selectBothChannels);
            call.Add(setSingleTone);

            using (mocks.Ordered)
            {
                Expect.Once.On(mockDevice).Method("SendDataToEP2").With(call.ToArray());
            }

            dds.SetMode("singletone");

            mocks.VerifyAllExpectationsHaveBeenMet();
        }