/** * This method tests the "toArrayList" method. * * @dataProvider data_toArrayList */ public function test_toArrayList(array $provided, array $expected) { $p0 = ILinkedList\Module::toArrayList(ILinkedList\Type::make($provided[0], '\\Saber\\Data\\IInt32\\Type')); $e0 = $expected[0]; $this->assertInstanceOf('\\Saber\\Data\\IArrayList\\Type', $p0); $this->assertSame($e0, $p0->unbox(1)); }