@Test
public void testAddSourceToInActive() {

    mSource.setValue("flatfoot");
    mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_STOP);
    Observer observer = mock(Observer.class);
    mMediator.addSource(mSource, observer);
    verify(observer, never()).onChanged(any());
    mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_START);
    verify(observer).onChanged("flatfoot");
}