let DEV_2 be trunk
[m6w6/ext-http] / tests / client001.phpt
diff --git a/tests/client001.phpt b/tests/client001.phpt
new file mode 100644 (file)
index 0000000..8071afa
--- /dev/null
@@ -0,0 +1,21 @@
+--TEST--
+client drivers
+--SKIPIF--
+<?php
+include "skipif.inc";
+?>
+--FILE--
+<?php
+echo "Test\n";
+
+foreach (http\Client::getAvailableDrivers() as $driver) {
+       $client = new http\Client($driver);
+       var_dump($client instanceof http\Client);
+}
+
+?>
+Done
+--EXPECTREGEX--
+Test
+(?:bool\(true\)
+)+Done