@Test
public void registrationUrl_ShouldReturnUrlWithTheDefaultLocale() {

    when(Context.getLanguage(context)).thenReturn("my_locale");
    assertThat(UrlHelper.registrationUrl(context, null)).contains("locale=my_locale");
}