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