public function testCustomNewsCategorySetup() { $this->assertInstanceOf('NewsCategory', $this->newsCategory); $this->assertEquals(array("enabled"), $this->newsCategory->getActiveStatuses()); $this->assertEquals("category", $this->newsCategory->getParamName()); $this->assertEquals("news category", $this->newsCategory->getTypeForHumans()); }