public function testCanUnsetVariable() { $model = new ViewModel(array('foo' => 'bar')); $model->__unset('foo'); $this->assertEquals(array(), $model->getVariables()); }