projects/moments/app/src/test/java/io/v/moments/lib/DiscoveredListTest.java
/**
     * Advertisements from self should not be handled/observed.
     */
Advertisements from self should not be handled/observed.
Advertisements from self should not be handled / observed .
@Test
    public void handleSelfFound() throws Exception {
        mList.setObserver(mObserver);
        when(mRejects.contains(ID0)).thenReturn(true);
        mList.handleFoundAdvertisement(mAdvertisement);
        verifyZeroInteractions(mHandler);
        verifyZeroInteractions(mObserver);
        assertEquals(0, mList.size());
    }
@ Test public void handleSelfFound ( ) throws Exception { mList . setObserver ( mObserver ) ; when ( mRejects . contains ( ID0 ) ) . thenReturn ( true ) ; mList . handleFoundAdvertisement ( mAdvertisement ) ; verifyZeroInteractions ( mHandler ) ; verifyZeroInteractions ( mObserver ) ; assertEquals ( 0 , mList . size ( ) ) ; }
Advertisements from self should not be handled/observed.
Advertisements from self should not be handled / observed .