'Assert that configured volume state change for given testcase indicates
incomplete operation execution.'

def _assert_unexpected_state_exception(self, operation, volume_end_state_type, attach_type=A.MISSING_ATTACH_DATA):

    volume = self._create_template_ebs_volume(operation)
    update = self._custom_update(operation, volume_end_state_type, attach_type)
    self.assertRaises(UnexpectedStateException, _reached_end_state, operation, volume, update, 0, TIMEOUT)
