/** * @depends testAlterClass */ public function testDropClass($class) { $query = new Query(); $query->drop($class); $response = $this->doQuery($query)->getInnerResponse(); $json = json_decode($response->getBody(), true); $this->assertEquals(200, $response->getStatusCode()); $this->assertTrue($json['result'][0]['value']); return $class; }