function it_should_set_a_url_loader() { $type = 'foo'; $this->hasUrlLoader($type)->shouldBeEqualTo(false); $this->setUrlLoader($type, new BaseUrlLoader()); $this->hasUrlLoader($type)->shouldBeEqualTo(true); }