public static async Task AnalyseDatabase_GivenEmptyDatabase_ReturnsEmptyMessages() { var messages = await Linter.AnalyseDatabase(EmptyDatabase).ToListAsync().ConfigureAwait(false); Assert.That(messages, Is.Empty); }
public static void AnalyseDatabase_GivenNullDatabase_ThrowsArgumentNullException() { Assert.That(() => Linter.AnalyseDatabase(null), Throws.ArgumentNullException); }