コード例 #1
0
        public void ReceiverOnTransponderDataReady_CreateEvent_DataformatterFormatStringCalled(string input)
        {
            List <string> testData = new List <string>();

            testData.Add(input);

            _transponderReceiver.TransponderDataReady
                += Raise.EventWith(this, new RawTransponderDataEventArgs(testData));

            _dataFormatter.Received(1).FormatFromString(input);
        }