  @Test
  public void should_log_when_bridge_server_receives_invalid_response() {

    addInputFile("invalid-json-response.css");
    sensor.execute(context);
    assertThat(String.join("\n", logTester.logs(LoggerLevel.DEBUG)))
      .contains("Failed to parse response");
    assertThat(String.join("\n", logTester.logs(LoggerLevel.ERROR)))
      .contains("Failure during CSS analysis");
  }