public function testPassFormatVersion() { $this->assertPasses($this->pass, PassValidator::FORMAT_VERSION_REQUIRED); $this->pass->setFormatVersion(''); $this->assertFails($this->pass, PassValidator::FORMAT_VERSION_REQUIRED); $this->pass->setFormatVersion(null); $this->assertFails($this->pass, PassValidator::FORMAT_VERSION_REQUIRED); $this->pass->setFormatVersion('0'); $this->assertFails($this->pass, PassValidator::FORMAT_VERSION_REQUIRED); }