public function test32Creation() { $creation = Eloquent32UserModel::create(['username' => 'alsofronie', 'password' => 'secret']); $this->assertEquals(32, strlen($creation->id)); $model = Eloquent32UserModel::first(); $this->assertEquals(32, strlen($model->id)); $this->assertRegExp('/^[0-9a-f]{32}$/', $model->id); $this->assertRegExp('/^[0-9a-f]{32}$/', $model->id); $this->assertEquals($creation->id, $model->id); }