public function testIsEmpty() { $list = new AliasGroupList(); $this->assertTrue($list->isEmpty()); $list = new AliasGroupList(array(new AliasGroup('en', array('foo')))); $this->assertFalse($list->isEmpty()); }
/** * @since 0.7.4 * * @return bool */ public function isEmpty() { return $this->labels->isEmpty() && $this->descriptions->isEmpty() && $this->aliasGroups->isEmpty(); }