public ServerStateStorageTests() { ServerStateStorage.Init(Setup.GetConnection()); _sut = new ServerStateStorage(Setup.GetConnection()); }
public static void WithSqlStorage(this DispatchServerConfiguration cfg, IDbFactory connection, string dbSchema = "") { ServerStateStorage.Init(connection, dbSchema); cfg.Storage = new ServerStateStorage(connection); }