List<String> lines = FileUtils.readLines( file );
assertTrue( lines.contains( "validateCertificates=false" ) );
// open dialog again, check that certificate validation checkbox is not selected
preferencesBot = studioBot.openPreferences();
pageBot = preferencesBot.openCertificatValidationPage();
assertFalse( pageBot.isValidateCertificatesSelected() );
// restore defaults, this should select the certificate validation
pageBot.clickRestoreDefaultsButton();
assertTrue( pageBot.isValidateCertificatesSelected() );