@Test public void shouldCreateValidNcNameGmlId() { InsertSensorOfferingConverter converter = new InsertSensorOfferingConverter(); String randomGmlId = converter.createRandomGmlId(); assertTrue(randomGmlId + " is not a valid NcName!", isNCName(randomGmlId)); }
String createRandomGmlId() { return "uuid_" + UUID.randomUUID().toString(); }
InsertSensorOfferingConverter { String createRandomGmlId() { return "uuid_" + UUID.randomUUID().toString(); } }
InsertSensorOfferingConverter { String createRandomGmlId() { return "uuid_" + UUID.randomUUID().toString(); }  }
InsertSensorOfferingConverter { String createRandomGmlId() { return "uuid_" + UUID.randomUUID().toString(); }  SensorOfferingType convertToSensorOfferingType(final InsertSensorOffering insertSensorOffering); }
InsertSensorOfferingConverter { String createRandomGmlId() { return "uuid_" + UUID.randomUUID().toString(); }  SensorOfferingType convertToSensorOfferingType(final InsertSensorOffering insertSensorOffering);  }