/** * @test */ public function convertFromShouldReturnNullForEmptyString() { $source = ''; $result = $this->converter->convertFrom($source, 'TYPO3\\FLOW3\\Fixtures\\ClassWithSettersAndConstructor'); $this->assertNull($result); }
/** * @test */ public function getSourceChildPropertiesToBeConvertedShouldReturnEmptyArray() { $this->assertEquals(array(), $this->converter->getSourceChildPropertiesToBeConverted('myString')); }