Skip to content

Instantly share code, notes, and snippets.

@TheFrozenFire
Created July 27, 2014 20:10
Show Gist options
  • Save TheFrozenFire/940e1602cd31bc87d353 to your computer and use it in GitHub Desktop.
Save TheFrozenFire/940e1602cd31bc87d353 to your computer and use it in GitHub Desktop.
<?php
namespace Ajp;
class ForwardRequestTest extends PacketTest
{
protected static $packetType = '\Ajp\Packet\ForwardRequest';
protected static $serialized = "\x41\x42\x00\x01\x02...";
public function provideSerializablePacket()
{
$packet = (new static::$packetType)
->setMethod(static::$packetType::METHOD_GET);
return array(
array($packet, static::$serialized),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment