public function testIsValid() { $this->object->setData(array()); $this->assertFalse($this->object->isValid()); }