FlowRule api no longer uses TableTypes. Existing usages are converted to
integer representations via Type.ordinal() call

Change-Id: Ie2a26c5ced166e12f0e1ea22e39cd5195455a1ad
diff --git a/core/api/src/test/java/org/onosproject/net/intent/IntentTestsMocks.java b/core/api/src/test/java/org/onosproject/net/intent/IntentTestsMocks.java
index 7457274..be7f790 100644
--- a/core/api/src/test/java/org/onosproject/net/intent/IntentTestsMocks.java
+++ b/core/api/src/test/java/org/onosproject/net/intent/IntentTestsMocks.java
@@ -333,13 +333,13 @@
         static int nextId = 0;
 
         int priority;
-        Type type;
+        int tableId;
         long timestamp;
         int id;
 
         public MockFlowRule(int priority) {
             this.priority = priority;
-            this.type = Type.DEFAULT;
+            this.tableId = 0;
             this.timestamp = System.currentTimeMillis();
             this.id = nextId++;
         }
@@ -408,13 +408,8 @@
         }
 
         @Override
-        public Type type() {
-            return type;
-        }
-
-        @Override
         public int tableId() {
-            return 0;
+            return tableId;
         }
     }