Exemplo n.º 1
0
 public function testCanCreateEmptyStream()
 {
     $b = new MultipartStream();
     $boundary = $b->getBoundary();
     $this->assertSame("--{$boundary}--\r\n", $b->getContents());
     $this->assertSame(strlen($boundary) + 6, $b->getSize());
 }