public function testCategory() { $this->hit->setCategory('some_category'); $this->assertSame('some_category', $this->hit->getCategory()); }