public void GetModelSchema(OpenApiSchema expected, OpenApiOperation openApiOperation) { // Act var actual = openApiOperation.GetModelSchema(); // Assert expected.Should() .NotBeNull() .And.BeEquivalentTo(actual); }