コード例 #1
0
 @Test
 public void BuildListWith1Item() {
   List<String> documentClassCodeList = new ArrayList<String>();
   documentClassCodeList.add("classcode1");
   String classCodes = DocumentClassCodeParser.buildDocumentClassCodeItem(documentClassCodeList);
   assertEquals("('classcode1')", classCodes);
 }
コード例 #2
0
 @Test
 public void BuildListWithNullInput() {
   String classCodes = DocumentClassCodeParser.buildDocumentClassCodeItem(null);
   assertEquals("", classCodes);
 }
コード例 #3
0
 @Test
 public void BuildListWith0Items() {
   List<String> documentClassCodeList = new ArrayList<String>();
   String classCodes = DocumentClassCodeParser.buildDocumentClassCodeItem(documentClassCodeList);
   assertEquals("", classCodes);
 }