Config config1 = new Config();
config1.getGroupConfig().setName("group").setPassword("password1");
Config config2 = new Config();
config2.getGroupConfig().setName("group").setPassword("password2");
ConfigCheck configCheck1 = new ConfigCheck(config1, "joiner");
ConfigCheck configCheck2 = new ConfigCheck(config2, "joiner");
assertIsCompatibleThrowsConfigMismatchException(configCheck1, configCheck2);
}