@Before
public void init() {
geoServer = getGeoServer();
ContactInfo contactInfo = new ContactInfoImpl();
contactInfo.setAddress("1600 Pennsylvania Avenue");
contactInfo.setAddressCity("Washington");
contactInfo.setAddressPostalCode("20001");
contactInfo.setAddressCountry("United States");
contactInfo.setAddressState("DC");
GeoServerInfo geoServerInfo = geoServer.getGlobal();
SettingsInfo settingsInfo = geoServerInfo.getSettings();
settingsInfo.setContact(contactInfo);
geoServer.save(geoServerInfo);