/** * @covers \Klout\Model\Topic::populate */ public function testPopulateWithEmptyArray() { $topic = new Topic(); $topic->populate(array()); $this->assertNull($topic->getTopicId()); $this->assertNull($topic->getDisplayName()); $this->assertNull($topic->getName()); $this->assertNull($topic->getSlug()); $this->assertNull($topic->getImageUrl()); $this->assertNull($topic->getTopicType()); }