We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b55d479 commit 7baf84dCopy full SHA for 7baf84d
tests/unit/Codeception/Module/AssertsTest.php
@@ -10,6 +10,16 @@ public function testAsserts()
10
$module->assertNotSame(1,true);
11
$module->assertRegExp('/^[\d]$/','1');
12
$module->assertNotRegExp('/^[a-z]$/','1');
13
+ $module->assertEmpty([]);
14
+ $module->assertNotEmpty([1]);
15
+ $module->assertNull(null);
16
+ $module->assertNotNull('');
17
+ $module->assertNotNull(false);
18
+ $module->assertNotNull(0);
19
+ $module->assertTrue(true);
20
+ $module->assertFalse(false);
21
+ $module->assertFileExists(__FILE__);
22
+ $module->assertFileNotExists(__FILE__ . '.notExist');
23
}
24
25
0 commit comments