public function testPassAssociatedStoreIdentifiers() { $this->assertPasses($this->pass, PassValidator::ASSOCIATED_STORE_IDENTIFIER_INVALID); $this->pass->setAppLaunchURL('url'); $this->assertFails($this->pass, PassValidator::ASSOCIATED_STORE_IDENTIFIER_REQUIRED); $this->pass->addAssociatedStoreIdentifier(123); $this->assertPasses($this->pass, PassValidator::ASSOCIATED_STORE_IDENTIFIER_INVALID); $this->pass->addAssociatedStoreIdentifier('not an integer'); $this->assertFails($this->pass, PassValidator::ASSOCIATED_STORE_IDENTIFIER_INVALID); }