As commented in #498 we should make the ConfigContext::setConfig() method protected. This is the helper method that actually sets the configuration. The class already has a public method for this purpose: ::setBasicConfig() which has a step definition associated with it.
We don't need 2 public methods that do exactly the same thing.