setCheckPermissions(FALSE)->setIncludeCustom(FALSE)->execute(); $json = json_encode($result); $this->assertStringStartsWith('[{"', $json); $this->assertTrue(is_array(json_decode($json))); } }