public function testPutService()
 {
     $response = $this->getMock('Response', array('getStatusCode'));
     $response->expects($this->once())->method('getStatusCode')->will($this->returnValue(201));
     $request = $this->getMock('Request', array('send'));
     $request->expects($this->once())->method('send')->will($this->returnValue($response));
     $client = $this->getMock(self::CLIENT_CLASS);
     $client->expects($this->once())->method('put')->with('/v1/service/test/ca2fff8e-d756-480c-b59e-8297ff886240', array('Content-Type' => 'application/json'), json_encode(self::$serviceNode))->will($this->returnValue($request));
     $suricate = new Suricate($client);
     $this->assertTrue($suricate->putService('test', 'ca2fff8e-d756-480c-b59e-8297ff886240', self::$serviceNode));
 }