@noel-yap There would be a need to add more constructors if the JUnit framework itself needed to pass more data to the filter factory. I do agree with David that it's odd that you have the FilterFactory implementations create the FilterFactoryParams implementations when the factory that created the instance is the only consumer of the instance.