GoogleAdsHeaderProvider implements HeaderProvider { public static Builder newBuilder() { return new AutoValue_GoogleAdsHeaderProvider.Builder(); }  static Builder newBuilder(); abstract String getDeveloperToken(); @Nullable abstract Long getLoginCustomerId(); @Nullable abstract Long getLinkedCustomerId(); @Override @Memoized ImmutableMap<String, String> getHeaders();  }
@Test public void requiresDeveloperToken() { try { GoogleAdsHeaderProvider.newBuilder().build(); fail(); } catch (IllegalStateException ex) { } }