### Question:
StripeTextUtils { static boolean hasAnyPrefix(String number, String... prefixes) { if (number == null) { return false; } for (String prefix : prefixes) { if (number.startsWith(prefix)) { return true; } } return false; }  @Nullable static String nullIfBlank(@Nullable String value); static boolean isBlank(@Nullable String value); @Nullable static String removeSpacesAndHyphens(@Nullable String cardNumberWithSpaces);  }### Answer:
@Test public void hasAnyPrefixShouldFailIfNull() { assertFalse(StripeTextUtils.hasAnyPrefix(null)); }
@Test public void hasAnyPrefixShouldFailIfEmpty() { assertFalse(StripeTextUtils.hasAnyPrefix("")); }
@Test public void hasAnyPrefixShouldFailWithNullAndEmptyPrefix() { assertFalse(StripeTextUtils.hasAnyPrefix(null, "")); }
@Test public void hasAnyPrefixShouldFailWithNullAndSomePrefix() { assertFalse(StripeTextUtils.hasAnyPrefix(null, "1")); }
@Test public void hasAnyPrefixShouldMatch() { assertTrue(StripeTextUtils.hasAnyPrefix("1234", "12")); }
@Test public void hasAnyPrefixShouldMatchMultiple() { assertTrue(StripeTextUtils.hasAnyPrefix("1234", "12", "1")); }
@Test public void hasAnyPrefixShouldMatchSome() { assertTrue(StripeTextUtils.hasAnyPrefix("abcd", "bc", "ab")); }
@Test public void hasAnyPrefixShouldNotMatch() { assertFalse(StripeTextUtils.hasAnyPrefix("1234", "23")); }
@Test public void hasAnyPrefixShouldNotMatchWithSpace() { assertFalse(StripeTextUtils.hasAnyPrefix("xyz", " x")); }