Пример #1
0
 /**
  * @return array
  */
 public function testGetRawPayload()
 {
     $expectedPayload = [];
     $event = new RequestEvent($expectedPayload);
     $actualPayload = $event->getRawPayload();
     $this->assertEquals($expectedPayload, $actualPayload);
 }
Пример #2
0
 /**
  * @test
  */
 public function it_can_return_a_raw_payload()
 {
     $expectedPayload = [];
     $event = new RequestEvent($expectedPayload);
     $actualPayload = $event->getRawPayload();
     $this->assertEquals($expectedPayload, $actualPayload);
 }