/** * Test late static binding * * Pre-conditions: * Slim app is extended by Derived class and instantiated; * Derived class overrides the 'getDefaultSettings' function and adds an extra default config value * Test that the new config value exists * * Post-conditions: * Config value exists and is equal to expected value */ public function testDerivedClassCanOverrideStaticFunction() { $app = new Derived(); $this->assertEquals($app->config("late-static-binding"), true); }