Пример #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());
 }
Пример #2
0
 @Test
 public void testGetCode() {
   MarcSubfield instance = new MarcSubfield('a', "Data");
   assertEquals('a', instance.getCode());
 }