JBufferTest::testStreamWrite
testing stream_write().
Signature
public function testStreamWrite(string
$buffer,
string
$name,
int
$position,
string
$write,
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
-
$write
- The data to write
-
$expected
- The expected test return
Returns
- void