static void publishAndWaitForCount(FakeOrderTrackerGUI gui, int id, int count) { publish(id); gui.waitMatches(count, () => gui.tracker.orderTable().count()); }
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)); }