static void Main(string[] args) { ITransponderReceiver transponderDataReceiver = TransponderReceiverFactory.CreateTransponderDataReceiver(); ITrackReceiver trackReceiver = new TrackDataReceiver(); var decoder = new DecodingWithMethod(transponderDataReceiver, trackReceiver); System.Console.ReadLine(); }
public void Setup() { _receiver = Substitute.For <ITransponderReceiver>(); _trackReceiver = Substitute.For <ITrackReceiver>(); _uut = new DecodingWithMethod(_receiver, _trackReceiver); _fakeTransponderData = new RawTransponderDataEventArgs(new List <string>() { "TRK001;12345;67890;12000;20151014123456789" } ); }