public void Start_Stop_Bus_Manager_With_Empty_Queue_List() { m_Bus.Register.AddMemoryReader <Person>("test", (m) => { // Do nothing }); m_Bus.StartReading(); m_Bus.StopReading(); }
public void Msmq_Without_AutoStart() { var person = Person.CreateTestPerson(); m_Bus.Send("test2.msmq", person); System.Threading.Thread.Sleep(2 * 1000); Check.That(person.IsProcessed).IsFalse(); m_Bus.StartReading(); }
public void StartReading() { m_Decorated.StartReading(); }