function testGetWithDefaultValue() { $toolkit = new lmbToolkit(); try { $toolkit->get('commonMethod'); $this->fail(); } catch (Exception $e) { $this->pass(); } $this->assertEqual($toolkit->get('commonMethod', 'baz'), 'baz'); }