Create config collection in a mockable method