package org.opendaylight.controller.cluster.access.commands;
import com.google.common.base.MoreObjects;
+import com.google.common.collect.ImmutableRangeSet;
import org.junit.Assert;
import org.junit.Test;
import org.opendaylight.controller.cluster.access.ABIVersion;
@Test
public void toRequestFailureTest() throws Exception {
- final RequestException exception = new DeadTransactionException(0);
+ final RequestException exception = new DeadTransactionException(ImmutableRangeSet.of());
final ConnectClientFailure failure = OBJECT.toRequestFailure(exception);
Assert.assertNotNull(failure);
}