Mockito is used by some of the tests in the tools module; however, it is only included because its a test dependency of hive-serde, which is included with the hcatalog libs. We should make it a direct dependency in case hcat removes mockito because Oozie won't compile anymore.
dependency tree for reference:
[INFO] +- org.apache.derby:derby:jar:10.6.1.0:compile
[INFO] +- org.apache.oozie:oozie-hcatalog:jar:0.5.0.oozie-4.1.0-SNAPSHOT:test (scope not updated to compile)
[INFO] | +- org.apache.hive:hive-serde:jar:0.10.0:test
[INFO] | | +- org.mockito:mockito-all:jar:1.8.5:test (version managed from 1.8.2)