public void SetUp() { writer = Substitute.For <IWriter>(); compare = new Compare(); velo = new VelocityAndCourse(compare, writer); _uut = new Filtrering(velo); }
static void Main(string[] args) { ITransponderReceiver itr = TransponderReceiverFactory.CreateTransponderDataReceiver(); ILogging log = new Logging(); IWriter writer = new ConsoleWriter(); Compare com = new Compare(); IVelocityAndCourse VC = new VelocityAndCourse(com, writer); IFiltrering filtrering = new Filtrering(VC); IConversion convertering = new Conversion(itr, filtrering); Detection detection = new Detection(com, log, writer); Console.ReadKey(); }