/** * test the constructor */ public function testConstructor() { $article = new Article(); $this->assertInternalType('array', $article->getTags()); $this->assertEmpty($article->getTags()); $this->assertInternalType('array', $article->getThumbnail()); $this->assertEmpty($article->getThumbnail()); $this->assertEquals('offline', $article->getStatus()); }