Beispiel #1
0
        public void STARTUP_CHECK()
        {
            queue.Add(SiMessageFixtures.startup_answer);
            SiDriverState nextState = SiDriverState.STARTUP_CHECK.Receive(queue, writer, siHandler);

            Assert.AreEqual(nextState, (SiDriverState.CONFIG_CHECK));
            writerMock.Verify(w => w.Write(SiMessage.GET_PROTOCOL_CONFIGURATION));
        }
Beispiel #2
0
 private void QueueMessage(SiMessage message)
 {
     GecoSiLogger.Log("READ", message.ToString());
     messageQueue.Add(message);
 }