示例#1
0
 /**
  * This method tests the "isEmpty" method.
  *
  * @dataProvider data_isEmpty
  */
 public function test_isEmpty(array $provided, array $expected)
 {
     $p0 = IArrayList\Type::make($provided[0]);
     $r0 = IArrayList\Module::isEmpty($p0);
     $e0 = $expected[0];
     $this->assertInstanceOf('\\Saber\\Data\\IBool\\Type', $r0);
     $this->assertSame($e0, $r0->unbox());
 }