function it_generates_proper_src_namespace_even_if_there_is_only_one_part($locator) { $this->beConstructedWith(array('config'), $locator); $locator->getSrcNamespace()->willReturn('Local\\'); $this->getSrcNamespace()->shouldReturn('Local'); }