@Test public void shouldBeAbleToListTenThousandOfTheMostCommonPasswords() { List<String> common = CommonPasswordsDictionary.list(); assertThat(common).hasSize(10000); }
public static List<String> list() { return passwords; }
CommonPasswordsDictionary { public static List<String> list() { return passwords; } }
CommonPasswordsDictionary { public static List<String> list() { return passwords; } private  CommonPasswordsDictionary(); }
CommonPasswordsDictionary { public static List<String> list() { return passwords; } private  CommonPasswordsDictionary(); static List<String> list(); static boolean contains(String password); }
CommonPasswordsDictionary { public static List<String> list() { return passwords; } private  CommonPasswordsDictionary(); static List<String> list(); static boolean contains(String password);  }