diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-08-28 22:50:57 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-08-28 22:50:57 +0100 |
| commit | cae4686fc61413691c623bcdd6eb63423e99dd22 (patch) | |
| tree | aa8cfc8cdf3cc142c9186157b9d22b4c8f677c0a /src/test/java/org/zwobble/mammoth/tests/docx/NotesXmlReaderTests.java | |
| parent | 9db49ccb50b1d667caf80f5b09087af88f817b60 (diff) | |
Remove usage of make it easy
Diffstat (limited to 'src/test/java/org/zwobble/mammoth/tests/docx/NotesXmlReaderTests.java')
| -rw-r--r-- | src/test/java/org/zwobble/mammoth/tests/docx/NotesXmlReaderTests.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/test/java/org/zwobble/mammoth/tests/docx/NotesXmlReaderTests.java b/src/test/java/org/zwobble/mammoth/tests/docx/NotesXmlReaderTests.java index 7e53f13..7c3670a 100644 --- a/src/test/java/org/zwobble/mammoth/tests/docx/NotesXmlReaderTests.java +++ b/src/test/java/org/zwobble/mammoth/tests/docx/NotesXmlReaderTests.java @@ -10,14 +10,12 @@ import org.zwobble.mammoth.internal.xml.XmlElement; import java.util.List; -import static com.natpryce.makeiteasy.MakeItEasy.a; -import static com.natpryce.makeiteasy.MakeItEasy.make; import static org.hamcrest.MatcherAssert.assertThat; import static org.zwobble.mammoth.internal.util.Lists.list; import static org.zwobble.mammoth.internal.util.Maps.map; import static org.zwobble.mammoth.internal.xml.XmlNodes.element; import static org.zwobble.mammoth.tests.ResultMatchers.isInternalSuccess; -import static org.zwobble.mammoth.tests.documents.DocumentElementMakers.PARAGRAPH; +import static org.zwobble.mammoth.tests.documents.DocumentElementMakers.paragraph; import static org.zwobble.mammoth.tests.docx.BodyXmlReaderMakers.bodyReader; public class NotesXmlReaderTests { @@ -34,7 +32,7 @@ public class NotesXmlReaderTests { assertThat( notes, - isInternalSuccess(list(new Note(NoteType.FOOTNOTE, "1", list(make(a(PARAGRAPH))))))); + isInternalSuccess(list(new Note(NoteType.FOOTNOTE, "1", list(paragraph()))))); } @Test |
