@gayanw, when you have >1 required parameters you're supposed to do this:
.withRequiredParameters("p1", "p2", ...)
So yes, the code you've shared is doing what is intended. I have no idea
why that test would be in ConceptController1_8Test, though. It belongs in
SearchBuilderTest or something like that.
(If it were me I would have written the code a different way, to support
multiple calls to requireParameter method that takes just one argument, but
that's personal preference.)