public function hasLeft() { return $this->eye && $this->eye->id != Eye::RIGHT; }
/** * @covers SplitEventTypeElement::hasLeft */ public function testHasLeft() { $this->object->eye = $this->eye('eyeLeft'); $this->assertTrue($this->object->hasLeft()); }