urbanairship-core/src/test/java/com/urbanairship/push/PushManagerTest.java
@Test
    public void testNormalizeTagsOverMaxLength() {
        HashSet<String> tags = new HashSet<>();

        tags.add("128_chars_lkashdflsfghekjashdflkjhsdfkjhsadkfjhskdnvpeortoivnk84389349843982ij321" +
                "masdflkjahsdgkfjandsgkljhasdg'k./l'.][;l].k,/[1");

        pushManager.setTags(tags);
        assertTrue(pushManager.getTags().isEmpty());
    }
/**
     * Tests that tag length of 128 chars cannot be set.
     */
Tests that tag length of 128 chars cannot be set.
Tests that tag length of 128 chars cannot be set .
@Test
    public void testNormalizeTagsOverMaxLength() {
        HashSet<String> tags = new HashSet<>();
        tags.add("128_chars_lkashdflsfghekjashdflkjhsdfkjhsadkfjhskdnvpeortoivnk84389349843982ij321" +
                "masdflkjahsdgkfjandsgkljhasdg'k./l'.][;l].k,/[1");
        pushManager.setTags(tags);
        assertTrue(pushManager.getTags().isEmpty());
    }
@ Test public void testNormalizeTagsOverMaxLength ( ) { HashSet < String > tags = new HashSet < > ( ) ; tags . add ( "128_chars_lkashdflsfghekjashdflkjhsdfkjhsadkfjhskdnvpeortoivnk84389349843982ij321" + "masdflkjahsdgkfjandsgkljhasdg'k./l'.][;l].k,/[1" ) ; pushManager . setTags ( tags ) ; assertTrue ( pushManager . getTags ( ) . isEmpty ( ) ) ; }
Tests that tag length of 128 chars cannot be set.
Tests that tag length of 128 chars cannot be set .