public static Optional<String> getDataSourceNameByDataSourceUnitActiveVersionNode(final String path) {
        Pattern pattern = Pattern.compile(getMetaDataNode() + DATABASE_DATA_SOURCES_NODE + DATA_SOURCE_UNITS_NODE + ACTIVE_VERSION_SUFFIX, Pattern.CASE_INSENSITIVE);
        Matcher matcher = pattern.matcher(path);
        return matcher.find() ? Optional.of(matcher.group(2)) : Optional.empty();
    }
@Test
    void assertGetDataSourceNameByDataSourceUnitActiveVersionNode() {
        Optional<String> actual = DataSourceMetaDataNode.getDataSourceNameByDataSourceUnitActiveVersionNode("/metadata/logic_db/data_sources/units/foo_ds/active_version");
        assertTrue(actual.isPresent());
        assertThat(actual.get(), is("foo_ds"));
    }