    @Test
    public void getsAllArticlesWhenThereIsNoNetwork(){

        setDataSourceResult(local);

        repository.get()
                .observeOn(SCHEDULER.io())
                .subscribeOn(SCHEDULER.ui())
                .subscribe(this::resultShouldNotBeNull);

        verify(local).get();
        verify(mapper).map(anyList());
        verify(manager).getActiveNetworkInfo();
        verify(cacheStore,times(FakeProvider.LIST_SIZE)).put(anyInt(),any(Article.class));
        verify(context).getSystemService(Context.CONNECTIVITY_SERVICE);
    }