RF: renamed _testGetDirection to getDirection