function testCanOverrideInheritedCoercedSchemeFromContext() { $url = new T_Url('foo', 'example.com', array('some', 'path')); $env = $this->getDefaultEnvironment(); $context = new T_Test_Controller_ContextStub($env, $url, array('keep', 'going')); $context->coerceScheme('https'); $control = new T_Controller($context); $control->coerceScheme('http'); $this->assertSame('http', $control->getCoerceScheme()); }