예제 #1
0
 /**
  * This method tests the "ni" method.
  *
  * @dataProvider data_ni
  */
 public function test_ni(array $provided, array $expected)
 {
     $p0 = IDouble\Module::ni(IDouble\Type::box($provided[0]), IDouble\Type::box($provided[1]));
     $e0 = $expected[0];
     $this->assertInstanceOf('\\Saber\\Data\\IBool\\Type', $p0);
     $this->assertSame($e0, $p0->unbox());
 }