use of com.hazelcast.logging.impl.LoggingServiceImpl in project hazelcast by hazelcast.
the class OperationExecutorImpl_AbstractTest method setup.
@Before
public void setup() throws Exception {
loggingService = new LoggingServiceImpl("foo", "jdk", new BuildInfo("1", "1", "1", 1, false, (byte) 1, "1"), true, null);
serializationService = new DefaultSerializationServiceBuilder().build();
config = smallInstanceConfig();
thisAddress = new Address("localhost", 5701);
Node node = Mockito.mock(Node.class);
when(node.getConfig()).thenReturn(config);
when(node.getProperties()).thenReturn(new HazelcastProperties(config));
when(node.getVersion()).thenReturn(new MemberVersion(0, 0, 0));
nodeExtension = new DefaultNodeExtension(node);
handlerFactory = new DummyOperationRunnerFactory();
responsePacketConsumer = new DummyResponsePacketConsumer();
}
Aggregations