* </p>
*
* @return
*/
public static WMSDTO newWmsDto() {
WMSDTO dto = new WMSDTO();
dto.setGmlPrefixing(true);
ServiceDTO service = new ServiceDTO();
service.setAbstract("test abstract");
service.setAccessConstraints("NONE");
service.setEnabled(true);
service.setFees("NONE");
service
.setKeywords(new String[] { "test", "mock", "service", "config" });
service.setMaintainer("Gabriel Roldan");
service.setName("WMS");
try {
service.setOnlineResource(new URL("http://www.axios.es"));
} catch (Exception e) {
// no-op
}
service.setTitle("My mock WMS");
dto.setService(service);
return dto;
}