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