public function testGetPassword()
{
$this->shmockAndDieselify('\\Bart\\Shell', function ($shell) {
$shell->std_in_secret('Give us your password: ')->once()->return_value('iamgod');
});
$configs = new TestConfig();
$password = $configs->password();
$this->assertEquals('iamgod', $password, 'pwd');
// Should use cache and not call std_in_secret again
$password = $configs->password();
$this->assertEquals('iamgod', $password, 'pwd');
}