use of fr.xephi.authme.settings.Settings in project AuthMeReloaded by AuthMe.
the class BCryptTest method mockSettings.
private static Settings mockSettings() {
Settings settings = mock(Settings.class);
given(settings.getProperty(HooksSettings.BCRYPT_LOG2_ROUND)).willReturn(8);
return settings;
}
use of fr.xephi.authme.settings.Settings in project AuthMeReloaded by AuthMe.
the class Salted2Md5Test method mockSettings.
private static Settings mockSettings() {
Settings settings = mock(Settings.class);
given(settings.getProperty(SecuritySettings.DOUBLE_MD5_SALT_LENGTH)).willReturn(8);
return settings;
}
Aggregations