NetworkUtils { public static String getTwitterUrl(String username) { return String.format(Locale.US, TWITTER_LINK_PREFIX, username); } private  NetworkUtils(); static boolean isNetworkAvailable(Context context); static String getAbsoluteUrl(String url); static String getTwitterUrl(String username);  }
@Test public void should_return_twitter_url_from_username() { String username = "Nilhcem"; String twitterUrl = NetworkUtils.getTwitterUrl(username); assertThat(twitterUrl.toLowerCase(Locale.US)).isEqualTo("http: }