public void Effort_ServerStore_CreateAsync_Test() { // Task CreateAsync(ApplicationServer server) int _expectedCount = _dbContext.Servers.Count() + 1; Task.Run(async() => { await _sut.CreateAsync(testServer); Assert.AreEqual(_expectedCount, _dbContext.Servers.Count()); }).GetAwaiter().GetResult(); }