/** * @test */ public function passSimpleArrayAndConvertToJson() { $json = $this->jsonArrayTypeMock->convertToDatabaseValue(['simplestring', 1, ['nestedArray']], $this->abstractPlatformMock); $this->assertEquals("{\n \"0\": \"simplestring\",\n \"1\": 1,\n \"2\": {\n \"0\": \"nestedArray\"\n }\n}", $json); }