public function testSetFilteredAttributes() { $car = new Car(); $car->setFilteredAttributes(['fuel' => 'diesel', 'junk' => 'trunk', 'wingspan' => 30]); $this->assertEquals(['fuel' => 'diesel'], $car->getAttributes()); }