/** * @expectedException \Phaza\SingleTableInheritance\Exceptions\SingleTableInheritanceException */ public function testSaveThrowsExceptionForInvalidAttributesIfConfigured() { $bike = new Bike(); $bike->color = 'red'; $bike->cruft = 'red is my favorite'; $bike->save(); }