public static async Task GetSequenceComments_GivenValidName_ReturnsNone() { var provider = new EmptyDatabaseSequenceCommentProvider(); var comment = provider.GetSequenceComments("test_sequence"); var isNone = await comment.IsNone.ConfigureAwait(false); Assert.That(isNone, Is.True); }
public static void GetSequenceComments_GivenNullName_ThrowsArgumentNullException() { var provider = new EmptyDatabaseSequenceCommentProvider(); Assert.That(() => provider.GetSequenceComments(null), Throws.ArgumentNullException); }