}
ByteArrayInputStream is=new ByteArrayInputStream(data);
try{
ObjectInputStream o = new ObjectInputStream(is);
SettingsModel result= (SettingsModel)o.readObject();
Assert.assertEquals(settingsModel.auditralColorMappings.size(), result.auditralColorMappings.size());
Assert.assertEquals(settingsModel.auditralColorMappings.get(1).contextRegEx.getValue(), settingsModel.auditralColorMappings.get(1).contextRegEx.getValue());
} catch (Exception e) {
throw new RuntimeException(e);
} finally {