def METHOD_NAME(self):
    with self.assertRaisesConfigError(
            "apiVersion 0 is not supported"):
        self.srvcVault.checkConfig(vaultServer="serveraddr",
                                   vaultToken="vaultToken",
                                   apiVersion=0)