public function testSetVariables() { $jsonModel = new JsonModel(new TestAsset\ModelWithJson()); $this->assertEquals('bar', $jsonModel->getVariable('foo')); }