public void GetBarometricPressureCommand_WhenCreated_TheIdentifierIsCorrect()
        {
            //Act
            Command command = new GetBarometricPressureCommand();

            //Assert
            Assert.AreEqual('B', command.Identifier);
        }
        public void GetBarometricPressureResponse_WhenConstructed_FlowValueIsParsedCorrectly()
        {
            //Arrange
            GetBarometricPressureCommand command = new GetBarometricPressureCommand();

            byte[] data = ResponseHelper.AppendChecksum(new byte[] { 0x42, 0x01 });

            //Act
            GetBarometricPressureResponse response = new GetBarometricPressureResponse(command, data);

            //Assert
            Assert.AreEqual(0x01, response.Flow, "The barometric pressure value is not correct.");
        }