Ejemplo n.º 1
0
 /**
  * When called with 'string' will return the string representation
  */
 public function testWhenCalledWithStringWillReturnTheStringRepresentation()
 {
     $labelValue = 'testing';
     $label = new Label($labelValue);
     static::assertInternalType('string', $label->toOutput('string'));
     static::assertEquals($labelValue, $label->toOutput('string'));
     return [$labelValue, $label];
 }