@MockPolicy(value=SharedSetUp.class) @PrepareForTest(value={LogUtils.class,com.hazelcast.core.Hazelcast.class,AwsOrchestrator.class,Utils.class,com.amazonaws.services.ec2.AmazonEC2Client.class}) @PowerMockIgnore(value={"javax.crypto.*","javax.management.*","javax.net.ssl.*"}) public class HazelcastServiceSpec extends Object
Modifier and Type | Field and Description |
---|---|
private Orchestrator |
orch |
private ServiceRunner |
serviceRunnerMock |
Constructor and Description |
---|
HazelcastServiceSpec() |
Modifier and Type | Method and Description |
---|---|
void |
negativeFlow_constructor_AwsOrchestrator_ENV_EC2_ENDPOINTShouldBeSet() |
void |
negativeFlow_constructor_AwsOrchestrator_ENV_ELB_ENDPOINTShouldBeSet() |
void |
negativeFlow_constructor_awsRegionRequired() |
void |
positiveFlow_constructor_AWSOchestratorCase() |
void |
positiveFlow_constructor_sholudSetIdGenerator() |
void |
positiveFlow_constructorNoInit_sholudNotSetIdGenerator2() |
void |
setUp() |
private ServiceRunner serviceRunnerMock
private Orchestrator orch
public void positiveFlow_constructor_sholudSetIdGenerator() throws Lot49Exception
Lot49Exception
public void positiveFlow_constructorNoInit_sholudNotSetIdGenerator2() throws Lot49Exception
Lot49Exception
public void negativeFlow_constructor_AwsOrchestrator_ENV_EC2_ENDPOINTShouldBeSet() throws Lot49Exception, IOException
Lot49Exception
IOException
public void negativeFlow_constructor_AwsOrchestrator_ENV_ELB_ENDPOINTShouldBeSet() throws Lot49Exception, IOException
Lot49Exception
IOException
public void negativeFlow_constructor_awsRegionRequired() throws Exception
Exception