/** * This method tests the "increment" method. * * @dataProvider data_increment */ public function test_increment(array $provided, array $expected) { $p0 = IDouble\Module::increment(IDouble\Type::box($provided[0])); $e0 = $expected[0]; $this->assertInstanceOf('\\Saber\\Data\\IDouble\\Type', $p0); $this->assertSame($e0, $p0->unbox()); }