public function testGetTypeMapOfRoot() { $expectedSubclassTypes = ['motorvehicle' => 'Phaza\\SingleTableInheritance\\Tests\\Fixtures\\MotorVehicle', 'car' => 'Phaza\\SingleTableInheritance\\Tests\\Fixtures\\Car', 'truck' => 'Phaza\\SingleTableInheritance\\Tests\\Fixtures\\Truck', 'bike' => 'Phaza\\SingleTableInheritance\\Tests\\Fixtures\\Bike']; $this->assertEquals($expectedSubclassTypes, Vehicle::getSingleTableTypeMap()); }