@Test
public void constructor_withNullContext_shouldNotSetDeviceLocale() throws Exception {

    Robolectric.getShadowApplication().getResources().getConfiguration().locale = Locale.FRANCE;
    subject = new AdConfiguration(null);
    assertThat(subject.getDeviceLocale()).isNull();
}