@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 testGetCode() { MarcSubfield instance = new MarcSubfield('a', "Data"); assertEquals('a', instance.getCode()); }