public void Initialize() { topicRepository = new SqlTopicCommandRepository(dbConnection); new DataBaseTruncator(dbConnection).TruncateDataBase().GetAwaiter().GetResult(); }
public async void Initialize() { anyTopic = new Topic(ProductId).WithId("AnyTopicId"); topicRepository = new SqlTopicCommandRepository(dbConnection); await new DataBaseTruncator(dbConnection).TruncateDataBase(); }
public void Initialize() { sqlInserter = new SqlInserter(dbConnection); sqlTopicRepository = new SqlTopicCommandRepository(dbConnection); }