JAL-3878 Add getCalcName to AlignCalcWorkerI.
[jalview.git] / test / jalview / workers / AlignCaclManager2Test.java
index 343ad14..5a22631 100644 (file)
@@ -320,8 +320,9 @@ class AlignCalcWorkerMock implements AlignCalcWorkerI
     var result = getLastResult();
     return (result instanceof Throwable) ? (Throwable) result : null;
   }
-  
-  public int getCallCount() {
+
+  public int getCallCount()
+  {
     return callCount;
   }
 
@@ -331,6 +332,12 @@ class AlignCalcWorkerMock implements AlignCalcWorkerI
   }
 
   @Override
+  public String getCalcName()
+  {
+    return "Mock";
+  }
+
+  @Override
   public boolean involves(AlignmentAnnotation annot)
   {
     if (annotation == null)