public static async Task GetViewComments_GivenValidName_ReturnsNone() { var provider = new EmptyRelationalDatabaseCommentProvider(); var comment = provider.GetViewComments("test_view"); var isNone = await comment.IsNone.ConfigureAwait(false); Assert.That(isNone, Is.True); }
public static void GetViewComments_GivenNullName_ThrowsArgumentNullException() { var provider = new EmptyRelationalDatabaseCommentProvider(); Assert.That(() => provider.GetViewComments(null), Throws.ArgumentNullException); }