/** * @depends testCreateProperty */ public function testAlterProperty($class) { $query = new Query(); $query->alterProperty($class, 'customTestProperty', 'notnull', 'false'); $this->assertHttpStatus(204, $this->doQuery($query)); $query->alterProperty($class, 'customTestProperty', 'notnull', 'true'); $this->assertHttpStatus(204, $this->doQuery($query)); return $class; }