EQX-231: Migrated to Mockito from JMock.