コード例 #1
0
        public void DISPATCH_READY_dispatchesSiCard10PlusIn192PunchesMode()
        {
            SiDriverState.setSicard6_192PunchesMode(true);

            queue.Add(SiMessageFixtures.sicard10_detected);
            SiDriverState.DISPATCH_READY.Receive(queue, writer, siHandler);
            writerMock.Verify(s => s.Write(SiMessage.READ_SICARD_10_PLUS_B0));
        }
コード例 #2
0
        public void setUp()
        {
            siHandlerMock = new Mock <SiHandler>();
            siHandler     = siHandlerMock.Object;
            writerMock    = new Mock <ICommWriter>();
            writer        = writerMock.Object;

            queue = new SiMessageQueue(10, 1);
            SiDriverState.setSicard6_192PunchesMode(false);
            GecoSiLogger.Open();
        }