use of com.hazelcast.internal.management.request.ForceStartNodeRequest in project hazelcast by hazelcast.
the class ForceStartNodeRequestTest method testForceStart_fails_withNoEnterprise.
@Test
public void testForceStart_fails_withNoEnterprise() throws Exception {
ForceStartNodeRequest request = new ForceStartNodeRequest();
JsonObject jsonObject = new JsonObject();
request.writeResponse(managementCenterService, jsonObject);
JsonObject result = (JsonObject) jsonObject.get("result");
assertEquals(ForceStartNodeRequest.FAILED_RESULT, request.readResponse(result));
}
Aggregations