public function testRecordIsUpdated() { $resultQuery = new Model(); $resultQuery = Model::find(1); $resultQuery->color = 'brown'; $resultQuery->save(); $resultQuery = Model::find(1); self::assertInternalType('object', $resultQuery); }