package com.commit451.gitlab;

import android.net.Uri;

import com.commit451.gitlab.navigation.RoutingNavigator;

/**
 * Checks counting
 */
public class CountingRouter implements RoutingNavigator {

    public int issueRouteCount = 0;
    public int commitRouteCount = 0;
    public int mergeRequestRouteCount = 0;
    public int projectRouteCount = 0;
    public int buildRoutCount = 0;
    public int unknownRountCount = 0;

    @Override
    public void onRouteToIssue(String projectNamespace, String projectName, String issueIid) {
        issueRouteCount++;
    }

    @Override
    public void onRouteToCommit(String projectNamespace, String projectName, String commitSha) {
        commitRouteCount++;
    }

    @Override
    public void onRouteToMergeRequest(String projectNamespace, String projectName, String mergeRequestId) {
        mergeRequestRouteCount++;
    }

    @Override
    public void onRouteToProject(String namespace, String projectId) {
        projectRouteCount++;
    }

    @Override
    public void onRouteToBuild(String projectNamespace, String projectName, String buildNumber) {
        buildRoutCount++;
    }

    @Override
    public void onRouteUnknown(Uri uri) {
        unknownRountCount++;
    }
}

@@ -367,24 +367,25 @@
 nt buildRout
+e
 Count = 0;%0A 
@@ -375,32 +375,68 @@
 RouteCount = 0;%0A
+    public int milestoneRouteCount;%0A
     public int u
@@ -1160,16 +1160,175 @@
 uildRout
+eCount++;%0A    %7D%0A%0A    @Override%0A    public void onRouteToMilestone(String projectNamespace, String projectName, String milestoneNumber) %7B%0A        milestoneRoute
 Count++;

Fix routing test