get() public method

public get ( $var )
 /**
  * Tests that the object is initialized with the correct default values.
  */
 public function testConstructorDefaults()
 {
     $db = new MockPostgreSql(array('autoConnect' => false));
     $result = $db->get('_config');
     $expected = array('autoConnect' => false, 'encoding' => null, 'persistent' => true, 'host' => 'localhost:5432', 'login' => 'root', 'password' => '', 'database' => null, 'dsn' => null, 'options' => array(), 'init' => true, 'schema' => 'public', 'timezone' => null);
     $this->assertEqual($expected, $result);
 }