/** * @expectedException \Phaza\SingleTableInheritance\Exceptions\SingleTableInheritanceInvalidAttributesException */ public function testFilterPersistedAttributesThrowsIfConfigured() { $bike = new Bike(); $bike->fuel = 'diesel'; $bike->filterPersistedAttributes(); }