int () { PickleEvent pickleEvent = getPickleEvent(myRealTestCase); if (pickleEvent != null) { return pickleEvent.pickle.getLocations().get(pickleEvent.pickle.getLocations().size() - 1).getLine(); } return 0; }