assertThat(updated.getConfiguration().isRegistered(LoggingFilter.class), is(true));
}
@Test
public void testRegisterObjectPriority() throws Exception {
final RxClient<RxFutureInvoker> updated = rxClient.register(new LoggingFilter(), 42);
for (final Map.Entry<Class<?>, Integer> entry : updated.getConfiguration().getContracts(LoggingFilter.class).entrySet()) {
assertThat(entry.getKey().isAssignableFrom(LoggingFilter.class), is(true));
assertThat(entry.getValue(), is(42));
}