public function testSetScopeColonyId() { $tick = new \Core\Service\Tick(1234); $service = new ColonyService($tick, array(), array(), $this->_colonyId); $service->setScopeColonyId(99); $this->assertEquals(99, $service->getScopeColonyId()); $this->setExpectedException('Core\\Service\\Exception'); $service->setScopeColonyId('abc'); }