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