@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());
 }
 @Test
 public void testSetData() {
   MarcSubfield instance = new MarcSubfield('a', "Data");
   instance.setData("MoreData");
   assertEquals("MoreData", instance.getData());
 }
 @Test
 public void testGetCode() {
   MarcSubfield instance = new MarcSubfield('a', "Data");
   assertEquals('a', instance.getCode());
 }