_c = new Connection(new FakeSocket); } public function testCanGetWhatIsSet() { $key = 'hello'; $val = 'world'; $this->_c->{$key} = $val; $this->assertEquals($val, $this->_c->{$key}); } public function testExceptionThrownOnInvalidGet() { $this->setExpectedException('InvalidArgumentException'); $ret = $this->_c->faked; } public function testLambdaReturnValueOnGet() { $this->markTestIncomplete(); } }