public void testgetLocationFromStackLine() throws Exception {
   final String stackTrace = "Class.testApexClass.t2: line 10, column 9\nExternal entry point";
   final ApexCodeLocation locationFromStackLine =
       service.getLocationFromStackLine("foo", stackTrace);
   assertEquals(10, locationFromStackLine.getLine().intValue());
   assertEquals(9, locationFromStackLine.getColumn().intValue());
 }
 public void testgetLocationFromStackLine_nullInputs() throws Exception {
   assertNull(service.getLocationFromStackLine("foo", null));
   assertNull(service.getLocationFromStackLine(null, "foo"));
 }