diff --git a/metafacture-biblio/src/test/java/org/metafacture/biblio/marc21/Marc21EncoderTest.java b/metafacture-biblio/src/test/java/org/metafacture/biblio/marc21/Marc21EncoderTest.java index f81d864c..c8677ff2 100644 --- a/metafacture-biblio/src/test/java/org/metafacture/biblio/marc21/Marc21EncoderTest.java +++ b/metafacture-biblio/src/test/java/org/metafacture/biblio/marc21/Marc21EncoderTest.java @@ -159,8 +159,9 @@ public void issue567ShouldFailValidateLeaderAsDefault() { @Test public void issue567ShouldNotValidateLeader() { marc21Encoder.setValidateLeader(false); + marc21Encoder.startRecord(""); - marc21Encoder.literal(LEADER_ENTITY, BAD_LEADER ); + marc21Encoder.literal(LEADER_ENTITY, BAD_LEADER ); marc21Encoder.endRecord(); verify(receiver).process(matches("00026ny a22000253n 4500\u001e\u001d"));