public static void ShouldMatchStructure <T>(this T comment, Action <CommentBuilder> builderAction) where T : Comment, new() { var builder = new CommentBuilder(); builderAction(builder); builder.VerifyExpectations(comment); }
public static void ShouldMatchStructure <T>(this T comment, Action <CommentBuilder> builderAction) where T : Comment, new() { var builder = new CommentBuilder(); builderAction(builder); builder.VerifyExpectations(comment); }