Mockito usage example added. Hibernate 4 migration.