vertx-oas
vertx-oas copied to clipboard
Suggestion make generator method non-static
I'd like to have RouterSpecGenerator not have static method so we can mock this in our unit tests.
Thanks for the suggestion, @dhoffer.
I'm happy to make it non-static; but might retain a static builder method for others who want to use it. WDYT?
Sure if you can do both that is fine. We just want to be able to mock any method we call.
On Sat, Feb 3, 2018 at 11:55 AM, Pete Cornish [email protected] wrote:
Thanks for the suggestion, @dhoffer https://github.com/dhoffer.
I'm happy to make it non-static; but might retain a static builder method for others who want to use it. WDYT?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/outofcoffee/vertx-oas/issues/3#issuecomment-362844777, or mute the thread https://github.com/notifications/unsubscribe-auth/ABfwrw1Ku3SbBWFKjJgQ9Ac2fFp9JONuks5tRKuxgaJpZM4R3xxz .