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