public Worker() { this.messageDataFactory=new MessageDataFactory(); this.dinamica=new DinamicaFake(); }
public Worker(IMessageDataFactory messageDataFactory, IDinamica dinamica) { this.messageDataFactory = messageDataFactory; this.dinamica = dinamica; }
public WorkerTests() { messageDataFactory = A.Fake<IMessageDataFactory>(); dinamica = A.Fake<IDinamica>(); worker = new Worker(messageDataFactory, dinamica); }