public function testForceCreateMethodSavesNewModelWithGuardedAttributes() { $_SERVER['__eloquent.saved'] = false; $model = EloquentModelSaveStub::forceCreate(['id' => 21]); $this->assertTrue($_SERVER['__eloquent.saved']); $this->assertEquals(21, $model->id); }