@Nonnull
    @Override
    public Collection<String> resourceTypes() {
        return Collections.singleton(OBJECT_TYPE_IMAP_JOURNAL);
    }
@Test
    public void should_list_resource_types() {
        // given
        DataConnectionConfig dataConnectionConfig = nonSharedDataConnectionConfig(clusterName);
        hazelcastDataConnection = new HazelcastDataConnection(dataConnectionConfig);

        // when
        Collection<String> resourcedTypes = hazelcastDataConnection.resourceTypes();

        //then
        assertThat(resourcedTypes)
                .map(r -> r.toLowerCase(Locale.ROOT))
                .containsExactlyInAnyOrder("imapjournal");
    }