public function hasRight() { return $this->eye && $this->eye->id != Eye::LEFT; }
/** * @covers SplitEventTypeElement::hasRight */ public function testHasRight() { $this->object->eye = $this->eye('eyeRight'); $this->assertTrue($this->object->hasRight()); }