public static void setStatus(string mode) { var topic = incomingStatus(); topic.send("FERRETSTATE", mode); DbTestCase.waitMatches(mode, status); }
public void waitMatches <T>(T expected, Producer <T> create) { DbTestCase.waitMatches(expected, () => { doAllWork(); return(create()); }); }