new ApplicationStub)); $this->assertEquals('dog', FacadeStub::cat()); Feather\Components\Support\Facade::application($feather); } } Bundle::start('feather'); class FacadeStub extends Feather\Components\Support\Facade { /** * Gets the name of the facade component. * * @return string */ protected static function accessor(){ return 'stub'; } } class ApplicationStub { public static function cat() { return 'dog'; } }