Skip to content

Commit 03c651d

Browse files
committed
Test that MongoDB\Driver\BulkWrite implements Countable
1 parent 29754a1 commit 03c651d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
--TEST--
2+
MongoDB\Driver\BulkWrite implements Countable
3+
--SKIPIF--
4+
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
5+
--FILE--
6+
<?php
7+
require_once __DIR__ . "/../utils/basic.inc";
8+
9+
$bulk = new MongoDB\Driver\BulkWrite;
10+
var_dump($bulk instanceof Countable);
11+
12+
?>
13+
===DONE===
14+
<?php exit(0); ?>
15+
--EXPECT--
16+
bool(true)
17+
===DONE===

0 commit comments

Comments
 (0)