AdConfiguration implements Serializable { String getHashedUdid() { return mHashedUdid; } @VisibleForTesting  AdConfiguration(final Context context); static AdConfiguration extractFromMap(Map<String, Object> map); @VisibleForTesting void setResponseString(String responseString); long getBroadcastIdentifier();  }
@Test public void constructor_shouldSetHashedUdid() throws Exception { assertThat(subject.getHashedUdid()).isEqualTo("da39a3ee5e6b4b0d3255bfef95601890afd80709"); }
@Test public void constructor_withNullContext_shouldNotSetHashedUdid() throws Exception { subject = new AdConfiguration(null); assertThat(subject.getHashedUdid()).isNull(); }