urbanairship-core/src/test/java/com/urbanairship/push/PushManagerTest.java
@Test
    public void testSetTagsWhiteSpaceTrimmedToEmpty() {
        HashSet<String> tags = new HashSet<>();
        tags.add(" ");
        pushManager.setTags(tags);
        assertTrue(pushManager.getTags().isEmpty());
    }
/**
     * Tests trimming of tag's white space when tag is only white space.
     */
Tests trimming of tag's white space when tag is only white space.
Tests trimming of tag ' s white space when tag is only white space .
@Test
    public void testSetTagsWhiteSpaceTrimmedToEmpty() {
        HashSet<String> tags = new HashSet<>();
        tags.add(" ");
        pushManager.setTags(tags);
        assertTrue(pushManager.getTags().isEmpty());
    }
@ Test public void testSetTagsWhiteSpaceTrimmedToEmpty ( ) { HashSet < String > tags = new HashSet < > ( ) ; tags . add ( " " ) ; pushManager . setTags ( tags ) ; assertTrue ( pushManager . getTags ( ) . isEmpty ( ) ) ; }
Tests trimming of tag's white space when tag is only white space.
Tests trimming of tag ' s white space when tag is only white space .