public function test_ids_cannot_be_used_for_versioning() { $this->setExpectedException(MappingException::class); $this->field->primary()->useForVersioning()->build(); }