/** * @expectedException \BadMethodCallException */ public function testSetInvalidSendHit() { $this->analytics->sendPageviw(); }