public void HokuyoReceiveDataOn681stIndexIsNotNullTest()
        {
            //  Given
            HokuyoSensorDataReceiver hokuyoSensorDataReceiver = new HokuyoSensorDataReceiver(hokuyo);
            string key = "distance681";

            //  When
            double distanceFrom681stIndex = hokuyoSensorDataReceiver.ReceiveData().Dictionary[key];

            //  Then
            Assert.IsNotNull(distanceFrom681stIndex);
        }
        public void HokuyoValidCapacityOfReceivedDataTest()
        {
            //  Given
            HokuyoSensorDataReceiver hokuyoSensorDataReceiver = new HokuyoSensorDataReceiver(hokuyo);
            int expectedCapacityOfReceivedData = 682;

            //  When
            int actualCapacityOfReceivedData = hokuyoSensorDataReceiver.ReceiveData().Dictionary.Count;

            //  Then
            Assert.AreEqual(expectedCapacityOfReceivedData, actualCapacityOfReceivedData);
        }
        public void HokuyoSensorsReceiveDataHasValidDeviceTypeTest()
        {
            //  Given
            HokuyoSensorDataReceiver hokuyoSensorDataReceiver = new HokuyoSensorDataReceiver(hokuyo);
            SelectedDevice           expectedDataReceiver     = SelectedDevice.Hokuyo;

            //  When
            SelectedDevice actualDataReceiver = hokuyoSensorDataReceiver.ReceiveData().SelectedDeviceType;

            //  Then
            Assert.AreEqual(expectedDataReceiver, actualDataReceiver);
        }