public function testSaveWithWrongValues()
{
$this->setExpectedException('Gc\\Exception');
$model = $this->object->fromArray(array('name' => null, 'description' => null, 'icon_id' => null, 'defaultview_id' => null, 'user_id' => null));
$this->assertFalse($model->save());
}