@Test
public void testTerminateEc2InstancesById() throws Exception{

    TerminateInstancesResult response = PowerMockito.mock(TerminateInstancesResult.class);
    TerminateInstancesRequest request = new TerminateInstancesRequest().withInstanceIds("i-1234");
    PowerMockito.when(ec2Delegator.getEc2().terminateInstances(request)).thenReturn(response);
    ec2RaiderImplUnderTest.terminateEc2InstancesById("i-1234");
}