Example how to Mock Liferay 6.2 services with help of @NewClassLoaderJUnitTestRunner To test run: mvn install