truncate() public method

Truncates an entity.
public truncate ( string $entity, boolean $andCluster = false ) : Query
$entity string
$andCluster boolean
return Query
 public function testTruncateNonExistingCluster()
 {
     $query = new Query();
     $query->truncate('NON_EXISTING_CLUSTER', true);
     $this->assertHttpStatus(500, $this->doQuery($query));
 }