@ManagedOperation(description = "Subscribe for dynamic routing with a predicate instance")
    public String subscribeWithPredicateInstance(
            String subscribeChannel,
            String subscriptionId,
            String destinationUri,
            int priority,
            Object predicate,
            boolean update) {
        return filterService.addFilterForChannel(subscriptionId, priority, obtainPredicateFromInstance(predicate),
                destinationUri, subscribeChannel, update);
    }
@Test
    void subscribeWithPredicateInstance() {
        service.subscribeWithPredicateInstance(subscribeChannel, subscriptionId, destinationUri, priority,
                predicateInstance, false);
        Mockito.verify(filterService, Mockito.times(1))
                .addFilterForChannel(
                        eq(subscriptionId), eq(priority), any(Predicate.class),
                        eq(destinationUri), eq(subscribeChannel), eq(false));
    }