/** * * @memcheck */ public function testBuild() { $frame = new Frame(); $frame->withBody("frame data"); $frame->withOpcode(Frame::OP_TEXT); $frame->withFinalFlag(true); $frame->withMasking($this->mask); $this->assertEquals($this->frame, $frame->build()); }