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