public static Optional<String> getViewNameByActiveVersionNode(final String path) {
        Pattern pattern = Pattern.compile(getMetaDataNode() + VIEWS_PATTERN + ACTIVE_VERSION_SUFFIX, Pattern.CASE_INSENSITIVE);
        Matcher matcher = pattern.matcher(path);
        return matcher.find() ? Optional.of(matcher.group(3)) : Optional.empty();
    }
@Test
    void assertGetTableNameByActiveVersionNode() {
        Optional<String> actual = ViewMetaDataNode.getViewNameByActiveVersionNode("/metadata/foo_db/schemas/foo_schema/views/foo_view/active_version");
        assertTrue(actual.isPresent());
        assertThat(actual.get(), is("foo_view"));
    }