/** * Method to test isEmptyString(). * * @return void * * @covers Windwalker\String\StringHelper::isEmptyString */ public function testIsEmpty() { $this->assertTrue(StringHelper::isEmpty('')); $this->assertFalse(StringHelper::isEmpty(0)); $this->assertFalse(StringHelper::isEmpty(' ')); $this->assertTrue(StringHelper::isEmpty(null)); $this->assertFalse(StringHelper::isEmpty(true)); $this->assertTrue(StringHelper::isEmpty(false)); }