ImpressionRequest extends UserRequest { public final double getPriceValue() { if (priceValue == null) { priceValue = getPriceValue(priceName); } return priceValue; } protected  ImpressionRequest(
      Exchange exchange, HttpRequest httpRequest,
      @Nullable String priceName); static Builder newBuilder(); @Override Builder toBuilder(); final boolean hasPrice(); final double getPriceValue(); final double getPriceValue(String priceName); final String getPriceName();  }
@Test(expected = IllegalStateException.class) public void testGetPrice_missing() { TestImpressionRequestBuilder.create().build().getPriceValue(); }
@Test(expected = IllegalStateException.class) public void testGetPriceNamed_missing() { TestImpressionRequestBuilder.create().build().getPriceValue(PRICE_NAME); }