public void Should_GenerateCorrectId_When_DbIsEmptyOrFilled() { Assert.IsTrue(mongoHandler.GenerateNewId().Result == 1); string word = "Test"; CardDocument card = CardDocument.CreateBasedOnWordAsync(mongoHandler, word).Result; mongoHandler.InsertCard(card); Assert.IsTrue(mongoHandler.GenerateNewId().Result == 2); }