Change:
  when(testObj.getNode...
To:
  when(mockSession.getNode...