/** * @test */ public function typeConverterReturnsErrorOnMalformedUri() { $actual = $this->typeConverter->convertFrom('http:////localhost', 'TYPO3\\Flow\\Http\\Uri'); $this->assertInstanceOf('TYPO3\\Flow\\Error\\Error', $actual); }
/** * @test */ public function typeConverterReturnsErrorOnMalformedUri() { $actual = $this->typeConverter->convertFrom('http:////localhost', \TYPO3\Flow\Http\Uri::class); $this->assertInstanceOf(\TYPO3\Flow\Error\Error::class, $actual); }