    @Test
    public void ofPattern() {

        Assert.assertEquals(Arrays.asList(Gavtc.of("g:a:v:pom"), Gavtc.of("g:a:v:jar")),
                Gavtc.ofPattern("g:a:v:[pom,jar]"));
        Assert.assertEquals(Arrays.asList(Gavtc.of("g:a:v:pom")), Gavtc.ofPattern("g:a:v:[pom]"));
        Assert.assertEquals(Arrays.asList(Gavtc.of("g:a:v:pom")), Gavtc.ofPattern("g:a:v:pom"));
    }