UnitTester::assertNotEmpty PHP 메소드

assertNotEmpty() 공개 메소드

Checks that variable is not empty.
또한 보기: Codeception\Module\Asserts::assertNotEmpty()
public assertNotEmpty ( $actual, string $message = null )
$actual
$message string
    public function assertNotEmpty($actual, $message = null)
    {
        return $this->scenario->runStep(new \Codeception\Step\Action('assertNotEmpty', func_get_args()));
    }

Usage Example

예제 #1
0
 public function testRequestConstruct()
 {
     $this->tester->assertNotEmpty($this->request->getGet());
     $this->tester->assertNotEmpty($this->request->getPost());
     $this->tester->assertNotEmpty($this->request->getCookie());
     $this->tester->assertNotEmpty($this->request->getServer());
 }
All Usage Examples Of UnitTester::assertNotEmpty