mapper()->map('string[]', $source); } catch (MappingError $error) { $this->mappingFail($error); } self::assertSame($source, $result); } }