diff --git a/guava/pom.xml b/guava/pom.xml
index aa162b7d1b..ca9e1e528e 100644
--- a/guava/pom.xml
+++ b/guava/pom.xml
@@ -43,13 +43,7 @@
${assertj.version}
test
-
-
- org.hamcrest
- java-hamcrest
- 2.0.0.0
- test
-
+
diff --git a/testing-modules/mockito/pom.xml b/testing-modules/mockito/pom.xml
index 0e83c46926..1ec1ffe7bd 100644
--- a/testing-modules/mockito/pom.xml
+++ b/testing-modules/mockito/pom.xml
@@ -46,7 +46,14 @@
${powermock.version}
test
-
+
+
+ org.hamcrest
+ java-hamcrest
+ 2.0.0.0
+ test
+
+
diff --git a/guava/src/test/java/org/baeldung/hamcrest/HamcrestFileUnitTest.java b/testing-modules/mockito/src/test/java/org/baeldung/hamcrest/HamcrestFileUnitTest.java
similarity index 100%
rename from guava/src/test/java/org/baeldung/hamcrest/HamcrestFileUnitTest.java
rename to testing-modules/mockito/src/test/java/org/baeldung/hamcrest/HamcrestFileUnitTest.java
diff --git a/guava/src/test/java/org/baeldung/hamcrest/HamcrestTextUnitTest.java b/testing-modules/mockito/src/test/java/org/baeldung/hamcrest/HamcrestTextUnitTest.java
similarity index 100%
rename from guava/src/test/java/org/baeldung/hamcrest/HamcrestTextUnitTest.java
rename to testing-modules/mockito/src/test/java/org/baeldung/hamcrest/HamcrestTextUnitTest.java
diff --git a/testing-modules/mockito/src/test/resources/test1.in b/testing-modules/mockito/src/test/resources/test1.in
new file mode 100644
index 0000000000..70c379b63f
--- /dev/null
+++ b/testing-modules/mockito/src/test/resources/test1.in
@@ -0,0 +1 @@
+Hello world
\ No newline at end of file