public function testFromArray()
{
$this->object->delete();
$this->object = Model::fromArray(array('lastname' => 'Test', 'firstname' => 'Test', 'email' => '[email protected]', 'login' => 'test', 'user_acl_role_id' => 1));
$this->assertEquals('[email protected]', $this->object->getEmail());
}