public JChannel getChannel() {
        return channel;
    }
@Test
    public void shouldCreateChannel() {
        // When
        JGroupsEndpoint endpoint = getMandatoryEndpoint("my-default-jgroups:" + CLUSTER_NAME, JGroupsEndpoint.class);
        JGroupsComponent component = (JGroupsComponent) endpoint.getComponent();

        // Then
        assertNotNull(component.getChannel());
    }