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