Esempio n. 1
0
 @Test
 public void testSetCode() {
   MarcSubfield instance = new MarcSubfield('a', "Data");
   instance.setCode('b');
   // TODO review the generated test code and remove the default call to fail.
   assertEquals('b', instance.getCode());
 }
Esempio n. 2
0
 @Test
 public void testSetData() {
   MarcSubfield instance = new MarcSubfield('a', "Data");
   instance.setData("MoreData");
   assertEquals("MoreData", instance.getData());
 }
Esempio n. 3
0
 @Test
 public void testGetCode() {
   MarcSubfield instance = new MarcSubfield('a', "Data");
   assertEquals('a', instance.getCode());
 }