/** Test of ac_method_getRelatedCode method, of class MetadataRDFConverter. */ @Test public void testAc_method_getRelatedCode() { System.out.println("* MetadataRDFConverterTest: ac_method_getRelatedCode"); String sPersonUriNull = ""; String sProductUriNull = ""; // APIResponseData expResult = null; APIResponseData resultNull = MetadataRDFConverter.ac_method_getRelatedCode(sPersonUriNull, sProductUriNull); // assertEquals(expResult, resultNull); assertNotNull(resultNull); assertNotNull(resultNull.oData); assertEquals(resultNull.oData.size(), 0); String sPersonUri = "http://www.alert-project.eu/ontologies/alert_scm.owl#Person1"; String sProductUri = "http://www.ifi.uzh.ch/ddis/evoont/2008/11/bom#Product1"; APIResponseData result = MetadataRDFConverter.ac_method_getRelatedCode(sPersonUri, sProductUri); assertNotNull(result); assertNotNull(result.oData); assertEquals(result.oData.size() > 0, true); //// TO-DO review the generated test code and remove the default call to fail. // fail("The test case is a prototype."); }