return "testData/debugger/";
}
public void testFunctionSourcePositionConstructor() throws Exception {
ErlangSourcePosition sourcePosition = ErlangSourcePosition.create(getProject(), MODULE_NAME, "function", 0);
ErlangFunction function = myErlangFile.getFunction("function", 0);
assertNotNull(sourcePosition);
assertNotNull(function);
assertEquals(MODULE_NAME, sourcePosition.getErlangModuleName());
assertEquals(myErlangFile.getVirtualFile(), sourcePosition.getFile());
assertEquals(function.getTextOffset(), sourcePosition.getSourcePosition().getOffset());
assertEquals(0, sourcePosition.getFunctionArity());
assertEquals(-1, sourcePosition.getFunExpressionArity());
}