aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/zwobble/mammoth/tests/docx/CommentXmlTests.java
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-08-28 22:50:57 +0100
committerMichael Williamson <mike@zwobble.org>2016-08-28 22:50:57 +0100
commitcae4686fc61413691c623bcdd6eb63423e99dd22 (patch)
treeaa8cfc8cdf3cc142c9186157b9d22b4c8f677c0a /src/test/java/org/zwobble/mammoth/tests/docx/CommentXmlTests.java
parent9db49ccb50b1d667caf80f5b09087af88f817b60 (diff)
Remove usage of make it easy
Diffstat (limited to 'src/test/java/org/zwobble/mammoth/tests/docx/CommentXmlTests.java')
-rw-r--r--src/test/java/org/zwobble/mammoth/tests/docx/CommentXmlTests.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/test/java/org/zwobble/mammoth/tests/docx/CommentXmlTests.java b/src/test/java/org/zwobble/mammoth/tests/docx/CommentXmlTests.java
index dd75ec2..6abf086 100644
--- a/src/test/java/org/zwobble/mammoth/tests/docx/CommentXmlTests.java
+++ b/src/test/java/org/zwobble/mammoth/tests/docx/CommentXmlTests.java
@@ -9,8 +9,6 @@ import org.zwobble.mammoth.internal.xml.XmlNode;
import java.util.List;
import java.util.Optional;
-import static com.natpryce.makeiteasy.MakeItEasy.a;
-import static com.natpryce.makeiteasy.MakeItEasy.make;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.*;
import static org.hamcrest.core.Is.isA;
@@ -19,7 +17,7 @@ import static org.zwobble.mammoth.internal.util.Maps.map;
import static org.zwobble.mammoth.internal.xml.XmlNodes.element;
import static org.zwobble.mammoth.tests.DeepReflectionMatcher.deepEquals;
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 CommentXmlTests {
@@ -36,7 +34,7 @@ public class CommentXmlTests {
allOf(
isA(Comment.class),
hasProperty("commentId", equalTo("1")),
- hasProperty("body", deepEquals(list(make(a(PARAGRAPH)))))
+ hasProperty("body", deepEquals(list(paragraph())))
)
))
);