expectException( InvalidArgumentException::class ); Rounder::round( 106.5, Rounder::DONT_ROUND, - 1 ); } public function testDivisorException(): void { $this->expectException( InvalidArgumentException::class ); Rounder::roundToMultipleOfNumber( 106.5, Rounder::DONT_ROUND, - 1 ); } public function testRoundingTypeException(): void { $this->expectException( InvalidArgumentException::class ); Rounder::roundByCurrency( 106.5, 'EUR', 2 ); } }