mock config