public function validateProcessesParamThrowsExpectionIfArgumentIsAStringButNotEqualsAll()
{
$autoScalingGroupClient = $this->getAutoScalingGroupClientMock(['suspendProcesses']);
$autoScalingGroupClient->method('suspendProcesses')->willReturn(new \Aws\Result([]));
$profileManager = $this->getProfileManagerMock(['getClient']);
$profileManager->method('getClient')->willReturn($autoScalingGroupClient);
$data = ['AutoScalingGroupName' => 'MyASGName'];
$autoScalingGroup = new \AwsInspector\Model\AutoScaling\AutoScalingGroup($data, $profileManager);
$this->setExpectedException('Exception', 'Argument must be "all" or an array of processes');
$autoScalingGroup->suspendProcesses('doenstExist');
}