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