pa.foundPattern(new PasswordPattern(2, 2, "34", 4, "bestPattern"));
pa.foundPattern(new PasswordPattern(4, 1, "5", 15, "badPattern"));
pa.foundPattern(new PasswordPattern(4, 1, "5", 20, "worserPattern"));
pa.foundPattern(new PasswordPattern(4, 1, "5", 4, "bestPattern"));
pa.foundPattern(new PasswordPattern(4, 1, "5", 23, "worstPattern"));
PathCost patterns = pa.calculateHighestProbablePatterns();
List<PasswordPattern> list = patterns.getPath();
assertEquals(4, list.size());