diff options
Diffstat (limited to 'src/test/java/org/zwobble/mammoth/tests/docx/RelationshipsXmlTests.java')
| -rw-r--r-- | src/test/java/org/zwobble/mammoth/tests/docx/RelationshipsXmlTests.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/org/zwobble/mammoth/tests/docx/RelationshipsXmlTests.java b/src/test/java/org/zwobble/mammoth/tests/docx/RelationshipsXmlTests.java index 1ba9ea8..19e74f3 100644 --- a/src/test/java/org/zwobble/mammoth/tests/docx/RelationshipsXmlTests.java +++ b/src/test/java/org/zwobble/mammoth/tests/docx/RelationshipsXmlTests.java @@ -1,20 +1,20 @@ package org.zwobble.mammoth.tests.docx; import com.google.common.collect.ImmutableList; -import com.google.common.collect.ImmutableMap; import org.junit.Test; import org.zwobble.mammoth.docx.Relationships; import org.zwobble.mammoth.xml.XmlElement; import static org.junit.Assert.assertEquals; import static org.zwobble.mammoth.docx.RelationshipsXml.readRelationshipsXmlElement; +import static org.zwobble.mammoth.util.MammothMaps.map; import static org.zwobble.mammoth.xml.XmlNodes.element; public class RelationshipsXmlTests { @Test public void targetIsReadFromRelationshipElement() { XmlElement element = element("relationship:Relationships", ImmutableList.of( - element("relationships:Relationship", ImmutableMap.of( + element("relationships:Relationship", map( "Id", "rId8", "Type", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink", "Target", "http://example.com")))); |
