Skip to content

Commit

Permalink
Support multiple entities in a card
Browse files Browse the repository at this point in the history
  • Loading branch information
benfortuna committed Sep 26, 2024
1 parent b65f59d commit 9428f0c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/test/java/net/fortuna/ical4j/vcard/VCardOutputterTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,25 +56,25 @@ public class VCardOutputterTest {

private final VCardOutputter outputter;

private final VCard entity;
private final VCard card;

private final String expectedOutput;

/**
* @param outputter
* @param entity
* @param card
* @param expectedOutput
*/
public VCardOutputterTest(VCardOutputter outputter, VCard entity, String expectedOutput) {
public VCardOutputterTest(VCardOutputter outputter, VCard card, String expectedOutput) {
this.outputter = outputter;
this.entity = entity;
this.card = card;
this.expectedOutput = expectedOutput;
}

@Test
public void testOutput() throws IOException, ValidationException {
var out = new StringWriter();
outputter.output(entity, out);
outputter.output(card, out);
assertEquals(expectedOutput, out.toString().replaceAll("\\r\\n ", ""));
}

Expand Down

0 comments on commit 9428f0c

Please sign in to comment.