Thanks, I'll add a dependency on Mockito for the test and include that 
with the pull request.

-Eric


On 8/1/12 1:22 AM, Hardy Ferentschik wrote:
> Hi Eric,
>
> None of the existing tests uses a mock framework. In fact a great part of our 
> test cases are functional in nature (going through whole Session life 
> cycles). We have often discussed that we need more actual unit tests. If you 
> want to use a mocking framework to do this I don't see why you should not be 
> able to use one.
>
> --hardy
>
>
>
> On 1 Aug 2012, at 06:02, Eric Dalquist <eric.dalqu...@doit.wisc.edu> wrote:
>
>> I'm working on a fix for https://hibernate.onjira.com/browse/HHH-7468
>> but I want to write a test first to reproduce the problem. Any
>> recommendations for mocking an EntityPersister and a SessionImplementor
>> in the hibernate (4.1 branch) project? I didn't see something like
>> mockito or easymock on the classpath.
>>
>> Thanks,
>> -Eric
>> _______________________________________________
>> hibernate-dev mailing list
>> hibernate-dev@lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev

_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to