@Test
public void testGetValueFactory() throws Exception {

    Session delegate = mock(Session.class);
    SessionFacade<Session> facade = getFacade(delegate);
    ValueFactory mockVf = mock(ValueFactory.class);
    when(delegate.getValueFactory()).thenReturn(mockVf);
    assertSame("should be same", mockVf, facade.getValueFactory());
}