@Test
public void testGetServiceDescription() throws Exception {

al ServiceDescription serviceDescription = serviceDescriptionFactory
etServiceDescription();
ertNotNull(serviceDescription);
ertEquals("Un-expected author (creator) information.",
"Easter Bunny <easter.bunny@bunny.net>\"", serviceDescription
getAuthor());
al String expectedDescription = "Example description of a service "
"wrapping of a fantastic\n            command line tool for migrating an "
"egg to eggnog.";
ertEquals("Un-expected description.", expectedDescription,
rviceDescription.getDescription());
al URI expectedFurtherInfoURI = new URI("http://example.org");
ertEquals("Un-expected text returned by getFurtherInfo().",
pectedFurtherInfoURI, serviceDescription.getFurtherInfo());
ertEquals("Un-expected identifier.", "-3995df4febea7decc4848e2864b7f863",
rviceDescription.getIdentifier());
ertEquals("Un-expected input formats.", getExpectedInputFormats(),
w HashSet<URI>(serviceDescription.getInputFormats()));
al String expectedInstructions = "Example: Please install the XYZ "
"tool on the system to\n            make this service work.";
ertEquals("Un-expected instructions.", expectedInstructions,
rviceDescription.getInstructions());
al String expectedLogoURL = "http://www.planets-project.eu/graphics"
"/Planets_Logo.png";
ertEquals("Un-expected logo URI.", expectedLogoURL,
rviceDescription.getLogo().toString());
al String expctedServiceName = "Example: Eggnog migration service.";
ertEquals("Un-expected service name.", expctedServiceName,
rviceDescription.getName());
ertEquals("Un-expected service class name.", this.getClass()
etCanonicalName(), serviceDescription.getClassname());
ifyParameters(serviceDescription.getParameters());
ifyToolDescription(serviceDescription.getTool());
ertEquals("Un-expected service version.", "3.141592653589793",
rviceDescription.getVersion());
ertEquals("Not testing a service, thus un-expected end-point URL.",
ll, serviceDescription.getEndpoint());
ifyProperties(serviceDescription.getProperties());
ertEquals("Un-expected service provider information.",
RVICE_PROVIDER, serviceDescription.getServiceProvider());
ertEquals("Un-expected interface type.",
u.planets_project.services.migrate.Migrate",
rviceDescription.getType());
ifyMigrationPaths(serviceDescription.getPaths());
}