@Test
public void testClusterMembershipMethodIsAllowed() {

    testIsCallAllowed(
            GrpcLeaderServerInterceptor.clusterMembershipAllowed(() -> false),
            newServerCall(getMethod(ClusterMembershipServiceGrpc.getServiceDescriptor(), "GetMembers"))
    );
}