use of com.hazelcast.spi.impl.sequence.CallIdSequenceWithoutBackpressure in project hazelcast by hazelcast.
the class InboundResponseHandlerSupplierTest method setup.
@Before
public void setup() {
ILogger logger = Logger.getLogger(getClass());
HazelcastProperties properties = new HazelcastProperties(new Properties());
invocationRegistry = new InvocationRegistry(logger, new CallIdSequenceWithoutBackpressure(), properties);
serializationService = new DefaultSerializationServiceBuilder().build();
nodeEngine = mock(NodeEngine.class);
when(nodeEngine.getLogger(any(Class.class))).thenReturn(logger);
when(nodeEngine.getSerializationService()).thenReturn(serializationService);
}
Aggregations