コード例 #1
0
ファイル: ClientTest.php プロジェクト: mast3rpee/blw
 protected function setUp()
 {
     # Valid values
     $this->Request = new Request();
     $this->Response = new Response();
     $this->Client = $this->getMockForAbstractClass('\\BLW\\Type\\HTTP\\AClient');
     $this->Client->setMediator(new Mediator());
     $this->Request->setURI(new GenericURI('http://example.com'));
     $this->Client->attach($this->Request, $this->Response);
 }