public static void main(String[] args) {
        Method[] ms = LongStream.class.getMethods();
        Arrays.sort(ms, (a, b) -> a.getName().compareTo(b.getName()));
        for (Method m : ms) {
            if (m.getParameters().length == 1 && !Modifier.isStatic(m.getModifiers())) {
                System.out.println("@Test(expected = NullPointerException.class)");
                System.out.println("public void " + m.getName() + "NPE() {");
                System.out.println("actual()." + m.getName() + "(null);");
                System.out.println("}");
            }
        }
        for (Method m : ms) {
            if (m.getParameters().length > 1 && !Modifier.isStatic(m.getModifiers())) {
                // System.err.println(m);
            }
        }

        for (Method m : ms) {
            if (!Modifier.isStatic(m.getModifiers())) {
                System.out.println(m);
            }
        }
    }