public void PermissionRouteBuilder_WithPermissionId_Success()
        {
            var id    = Guid.NewGuid();
            var route = new PermissionRouteBuilder().PermissionId(id.ToString()).Route;

            Assert.Equal($"{RouteConstants.PermissionCollectionRoute}/{id}", route);
        }
        public void PermissionRouteBuilder_NoParameters_Success()
        {
            var route = new PermissionRouteBuilder().Route;

            Assert.Equal($"{RouteConstants.PermissionCollectionRoute}", route);
        }
        public void PermissionRouteBuilder_WithGrainAndSecurableItemAndName_Success()
        {
            var route = new PermissionRouteBuilder().Grain("app").SecurableItem("patientsafety").Name("permissionName").Route;

            Assert.Equal($"{RouteConstants.PermissionCollectionRoute}/app/patientsafety/permissionName", route);
        }