Пример #1
0
 static void publishAndWaitForCount(FakeOrderTrackerGUI gui, int id, int count)
 {
     publish(id);
     gui.waitMatches(count, () => gui.tracker.orderTable().count());
 }
Пример #2
0
 static void changeFerretStatus(FakeOrderTrackerGUI gui, string ferretId, string status, string expectedFerretOrderStatus, string destination)
 {
     publishFerretResponse(Dates.now(), ferretId, status, destination);
     gui.waitMatches(expectedFerretOrderStatus, () => gui.ferretStatus(ferretId));
 }