/** * isStored should return true when id is set. */ public function testIsStoredIsTrueWhenIdIsPresent() { $this->product->id = abs($this->generator()->anyInteger()) + 1; $this->assertTrue($this->product->isStored()); }
/** * @return bool */ public function isStored() : bool { return $this->wrappedObject->isStored(); }