public function convertSetsItemInEmptyArrayIfFromIsEmpty() { $this->converter->addMapping('', ['bar']); $result = $this->converter->convert('foobar'); $this->assertCount(1, $result); $this->assertSame('foobar', $result['bar']); }