Created
July 16, 2019 11:55
-
-
Save pc-magas/63bd0e5bbcee07449b051f7e34fdffcb to your computer and use it in GitHub Desktop.
A simple code Snipper to check the functionality of `assertEmpty`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Tests\Unit; | |
use PHPUnit\Framework\TestCase; | |
class TestTemp extends TestCase | |
{ | |
public function testAssertEmpty() | |
{ | |
$this->assertEmpty(0); | |
} | |
public function testAssertEmptyNoZero() | |
{ | |
$this->assertEmpty(1); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment