I'd like to use my own implementation of WSClient. I can do this with reflection, but it would be nice not to.
Are you ok with something like below?
1. remove final modifier from WSClientl
2. Change WSClient to an interface (optional)
3. open a constructor on ServiceInstance where we can specify a WSClient object
View and moderate all "feature-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Feature Requests"
This is the constructor we need
View and moderate all "feature-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Feature Requests"
Note: currently, constructing the ServiceInstance object also implies making a connection. This makes it more difficult to wire up dependencies and unit test them. Can you please make some sort of postConstruct method for adding state like this, or make state an argument, decoration, etc?