TweetTextLinkifier { static boolean isVineCard(final FormattedUrlEntity urlEntity) { return VINE_URL.matcher(urlEntity.expandedUrl).find(); } private  TweetTextLinkifier();   }
@Test public void testIsVineCard_withVineUrl() { final UrlEntity urlEntity = new UrlEntity("https: "https: final FormattedUrlEntity formattedUrlEntity = new FormattedUrlEntity(urlEntity.getStart(), urlEntity.getEnd(), urlEntity.displayUrl, urlEntity.url, urlEntity.expandedUrl); assertTrue(TweetTextLinkifier.isVineCard(formattedUrlEntity)); }