JBufferTest::testStreamRead
testing stream_read().
Signature
public function testStreamRead(string
$buffer,
string
$name,
int
$position,
int
$count,
bool
$expected )
Parameters
-
$buffer
- The buffer to perform the operation upon
-
$name
- The name of the buffer
-
$position
- The position in the buffer of the current pointer
-
$count
- The movement of the pointer
-
$expected
- The expected test return
Returns
- void