Пример #1
0
 /**
  * Test: Get/Set path
  *
  * @covers \Pushy\Transport\RequestMessage::getPath
  * @covers \Pushy\Transport\RequestMessage::setPath
  */
 public function testGetSetPath()
 {
     $path = 'some/path';
     // Ensure object we get back is the RequestMessage for chaining
     $this->assertEquals($this->requestMessage, $this->requestMessage->setPath($path));
     // Ensure path set is what is returned from get
     $this->assertEquals($path, $this->requestMessage->getPath());
 }