unfold message body tests
[m6w6/ext-http] / tests / messagebody002.phpt
diff --git a/tests/messagebody002.phpt b/tests/messagebody002.phpt
new file mode 100644 (file)
index 0000000..fe28e28
--- /dev/null
@@ -0,0 +1,21 @@
+--TEST--
+message body append
+--SKIPIF--
+<?php
+include "skipif.inc";
+?>
+--FILE--
+<?php
+echo "Test\n";
+
+$temp = new http\Message\Body();
+$temp->append("yes");
+
+var_dump((string) $temp);
+
+?>
+DONE
+--EXPECT--
+Test
+string(3) "yes"
+DONE