/** * @test * it should throw if trying to get non set var */ public function it_should_throw_if_trying_to_get_non_set_var() { $this->setExpectedException('InvalidArgumentException'); $this->sut->getVar('foo'); }