Code example for Session

Methods: createCriteria

0
    private final JUnit4Mockery context = new JUnit4Mockery() 
    { 
        { 
            setImposteriser(ClassImposteriser.INSTANCE); 
        } 
    }; 
 
    /** 
     * Mapper to get person info. 
     */ 
    private Session hibernateSession = context.mock(Session.class); 
 
    /** 
     * System under test. 
     */ 
    private PersonQueryStrategy sut; 
 
    /** 
     * Setup. 
     */ 
Connect your IDE to all the code out there  Get Codota for Java