use of io.rx_cache2.EvictProvider in project RxCache by VictorAlbertos.
the class ProxyTranslatorTest method When_Multiple_Evict_Throw_Exception.
@Test(expected = IllegalArgumentException.class)
public void When_Multiple_Evict_Throw_Exception() throws NoSuchMethodException {
Method mockMethod = io.rx_cache2.internal.ProvidersRxCache.class.getDeclaredMethod("getMockMultipleEvicts", Observable.class, EvictProvider.class, EvictProvider.class);
Object[] data = { Observable.just(new Object[] {}), new EvictProvider(true), new EvictProvider(true) };
proxyTranslatorUT.processMethod(mockMethod, data);
}
Aggregations