/** * @dataProvider shiftProvider */ public function testShift(DecimalValue $value, $exponent, $expected) { $math = new DecimalMath(); $actual = $math->shift($value, $exponent); $this->assertEquals($expected, $actual->getValue()); }