public function testIsEmpty() { $text = new Text(); $this->assertTrue($text->isEmpty()); $text = new Text(' '); $this->assertFalse($text->isEmpty()); }