_version = new Hixie76(); } public function testClassImplementsVersionInterface() { $constraint = $this->isInstanceOf('\\Ratchet\\Component\\WebSocket\\Version\\VersionInterface'); $this->assertThat($this->_version, $constraint); } /** * @dataProvider HandshakeProvider */ public function INCOMPLETEtestKeySigningForHandshake($key, $accept) { // $this->assertEquals($accept, $this->_version->sign($key)); } public static function HandshakeProvider() { return array( array('', '') , array('', '') ); } }