public function testFillableOverridesGuarded() { $model = new EloquentModelStub(); $model->guard(['name', 'age']); $model->fillable(['age', 'foo']); $model->fill(['name' => 'foo', 'age' => 'bar', 'foo' => 'bar']); $this->assertFalse(isset($model->name)); $this->assertEquals('bar', $model->age); $this->assertEquals('bar', $model->foo); }