projects/moments/app/src/test/java/io/v/moments/lib/DiscoveredListTest.java
/**
     * Do nothing upon loss of an unrecognized advertisement.
     */
Do nothing upon loss of an unrecognized advertisement.
Do nothing upon loss of an unrecognized advertisement .
@Test
    public void handleUnrecognizedLost() throws Exception {
        mList.setObserver(mObserver);
        mList.handleLostAdvertisement(mAdvertisement);
        verify(mHandler).post(mRunnable.capture());
        mRunnable.getValue().run();
        assertEquals(0, mList.size());
        verifyZeroInteractions(mHandler);
        verifyZeroInteractions(mObserver);
    }
@ Test public void handleUnrecognizedLost ( ) throws Exception { mList . setObserver ( mObserver ) ; mList . handleLostAdvertisement ( mAdvertisement ) ; verify ( mHandler ) . post ( mRunnable . capture ( ) ) ; mRunnable . getValue ( ) . run ( ) ; assertEquals ( 0 , mList . size ( ) ) ; verifyZeroInteractions ( mHandler ) ; verifyZeroInteractions ( mObserver ) ; }
Do nothing upon loss of an unrecognized advertisement.
Do nothing upon loss of an unrecognized advertisement .
// Currently nothing happens - not even an error.