/** * @return FatigueBonus */ public function getBonus() { return $this->fatigueTable->toBonus($this); }
/** * @test * @expectedException \DrdPlus\Tables\Measurements\Partials\Exceptions\RequestedDataOutOfTableRange */ public function I_can_not_convert_too_high_value_to_bonus() { $fatigueTable = new FatigueTable($this->woundsTable); $fatigueTable->toBonus(new Fatigue(28001, Fatigue::FATIGUE, $fatigueTable)); }