/** * When called with 'string' will return the string representation */ public function testWhenCalledWithStringWillReturnTheStringRepresentation() { $typeValue = 'testing'; $type = new Type($typeValue); static::assertInternalType('string', $type->toOutput('string')); static::assertEquals($typeValue, $type->toOutput('string')); return [$typeValue, $type]; }