Exemplo n.º 1
0
 private function assertSettingHasValue($setting, $expectedValue, $expectedType = null)
 {
     $value = $this->settings->getSettingValue($setting);
     $this->assertEquals($expectedValue, $value);
     if (!is_null($expectedType)) {
         $this->assertInternalType($expectedType, $value);
     }
 }