urbanairship-core/src/test/java/com/urbanairship/push/PushManagerTest.java
@Test
    public void testClearAlias() {
        String alias = "someAlias";
        pushManager.setAlias(alias);

        pushManager.setAlias(null);
        assertTrue(pushManager.getAlias() == null);
    }
/**
     * Tests clearing the alias by setting it to null.
     */
Tests clearing the alias by setting it to null.
Tests clearing the alias by setting it to null .
@Test
    public void testClearAlias() {
        String alias = "someAlias";
        pushManager.setAlias(alias);
        pushManager.setAlias(null);
        assertTrue(pushManager.getAlias() == null);
    }
@ Test public void testClearAlias ( ) { String alias = "someAlias" ; pushManager . setAlias ( alias ) ; pushManager . setAlias ( null ) ; assertTrue ( pushManager . getAlias ( ) == null ) ; }
Tests clearing the alias by setting it to null.
Tests clearing the alias by setting it to null .