public function hasFavorites()
{
// Throw in a default here to confirm that it is ignored when a value is configured
return $this->getBool('favorites', 'has_favorites', true);
}
public function testGetBoolFalse() { $favorites = parse_ini_string('has_favorites = false', false); $configs = new TestConfig(); $configs->configureForTesting(array('favorites' => $favorites)); $this->assertFalse($configs->hasFavorites(), 'hasFavorites'); }