Rename write and read methods of the composable connection interface.

This commit is contained in:
Daniele Alessandri
2013-12-10 21:26:11 +01:00
parent 59b5658cf5
commit 95b9f63cab
15 changed files with 35 additions and 34 deletions
@@ -40,7 +40,7 @@ class ProtocolProcessorTest extends PredisTestCase
$connection = $this->getMock('Predis\Connection\ComposableConnectionInterface');
$connection->expects($this->once())
->method('writeBytes')
->method('writeBuffer')
->with($this->equalTo($serialized));
$protocol->write($connection, $command);