now needs to be `$client = $this->getClient()` same for `mappingExists()` below