@Test(expectedExceptions = IllegalArgumentException.class, expectedExceptionsMessageRegExp = "current seeds must not be empty") public void testParseNoCurrentSeeds() throws IOException { new TicketSeedFileParser().parse( new File(TicketSeedFileParserTest.class.getResource("/seeds_with_no_current.json").getFile())); }
public List<SessionTicketKey> parse(File file) throws IOException { return parseBytes(Files.toByteArray(file)); }
TicketSeedFileParser { public List<SessionTicketKey> parse(File file) throws IOException { return parseBytes(Files.toByteArray(file)); } }
TicketSeedFileParser { public List<SessionTicketKey> parse(File file) throws IOException { return parseBytes(Files.toByteArray(file)); } TicketSeedFileParser();  TicketSeedFileParser(String hexSalt);  TicketSeedFileParser(byte[] salt); }
TicketSeedFileParser { public List<SessionTicketKey> parse(File file) throws IOException { return parseBytes(Files.toByteArray(file)); } TicketSeedFileParser();  TicketSeedFileParser(String hexSalt);  TicketSeedFileParser(byte[] salt); List<SessionTicketKey> parse(File file); List<SessionTicketKey> parseBytes(byte[] json); }
TicketSeedFileParser { public List<SessionTicketKey> parse(File file) throws IOException { return parseBytes(Files.toByteArray(file)); } TicketSeedFileParser();  TicketSeedFileParser(String hexSalt);  TicketSeedFileParser(byte[] salt); List<SessionTicketKey> parse(File file); List<SessionTicketKey> parseBytes(byte[] json);  }