/** * @test */ public function checkMetadata() { $this->assertEquals(array('string'), $this->converter->getSupportedSourceTypes(), 'Source types do not match'); $this->assertEquals(\TYPO3\Flow\I18n\Locale::class, $this->converter->getSupportedTargetType(), 'Target type does not match'); $this->assertEquals(1, $this->converter->getPriority(), 'Priority does not match'); }
/** * @test */ public function checkMetadata() { $this->assertEquals(array('float', 'integer', 'string'), $this->converter->getSupportedSourceTypes(), 'Source types do not match'); $this->assertEquals('float', $this->converter->getSupportedTargetType(), 'Target type does not match'); $this->assertEquals(1, $this->converter->getPriority(), 'Priority does not match'); }