public void Should_ReturnNull_When_NoWordsInDb() { Task <CardDocument> task = mongoHandler.FindRandomCardAsync(); task.Wait(); Assert.IsNull(task.Result); }