/** * ResolverUsesObjectManagerToRetrieveConcreteImplementation * * @return void */ public function testResolverUsesObjectManagerToRetrieveConcreteImplementation() { $this->objectManagerMock->expects($this->once())->method('get')->with($this->equalTo('DreadLabs\\VantomasWebsite\\Disqus\\Response\\Json')); $this->patternProviderMock->expects($this->once())->method('getPattern')->willReturn('DreadLabs\\VantomasWebsite\\Disqus\\Response\\%s'); $this->sut->resolve('json'); }