@Test
public void testInvokeCommit() {

  RepositoryBackedSession session = mock(RepositoryBackedSession.class);
  when(session.getCommitter()).thenReturn(mock(Runnable.class));
  sessionManager.invokeCommit(session);
  verify(session).getCommitter();
}