Example #1
0
 /**
  * This method tests the evaluation of one value compared to another.
  *
  * @dataProvider dataCompare
  */
 public function testCompare(array $provided, array $expected)
 {
     $p0 = Throwable\Unknown\Exception::make2(new Throwable\InvalidArgument\Exception($provided[0][0], $provided[0][1], $provided[0][2]))->compare(Throwable\Unknown\Exception::make2(new Throwable\InvalidArgument\Exception($provided[1][0], $provided[1][1], $provided[1][2])));
     $e0 = $expected[0];
     $this->assertInstanceOf('\\Saber\\Data\\ITrit\\Type', $p0);
     $this->assertSame($e0, $p0->unbox());
 }