예제 #1
0
 /**
  * This method tests that a value is reversed.
  *
  * @dataProvider dataReverse
  */
 public function testReverse(array $provided, array $expected)
 {
     $this->markTestIncomplete();
     $p0 = IString\Type::make($provided[0])->reverse();
     $e0 = $expected[0];
     $this->assertInstanceOf('\\Saber\\Data\\IString\\Type', $p0);
     $this->assertSame($e0, $p0->unbox());
 }
예제 #2
0
 /**
  * This method tests the "toString" method.
  *
  * @dataProvider data_toString
  */
 public function test_toString(array $provided, array $expected)
 {
     $p0 = IString\Type::make($provided[0])->toString();
     $e0 = $expected[0];
     $this->assertInstanceOf('\\Saber\\Data\\IString\\Type', $p0);
     $this->assertSame($e0, $p0->unbox());
 }