'Try to get image without exists camera.'

@patch('homeassistant.components.camera.async_get_image', side_effect=HomeAssistantError())
def test_get_image_without_exists_camera(self, mock_image):

    self.hass.states.remove('camera.demo_camera')
    ip.scan(self.hass, entity_id='image_processing.test')
    self.hass.block_till_done()
    state = self.hass.states.get('image_processing.test')
    assert mock_image.called
    assert (state.state == '0')
