public function testSetGetValueTrimShot() { $this->event->setType(Event::TYPE_SHOT); // string to trim $this->event->setValue('A1'); $this->assertEquals('A1', $this->event->getValue()); // string with result to trim $this->event->setValue('A2|sunk'); $this->assertEquals('A2', $this->event->getValue()); // array to trim $this->event->setValue(["\t A3 \n", ' hit ']); $this->assertEquals('A3', $this->event->getValue()); }