public static function getInstanceIdentifier() { throw new \BadMethodCallException('The' . __METHOD__ . ' method must be implemented by a subclass.'); }
/** * @expectedException \BadMethodCallException */ public function testErrorWhenUsingBaseClassDirectly() { StaticProxy::getInstanceIdentifier(); }