public class TestEmployee { private void println(String s) { System.out.println(s); } private void error(String s) { System.out.println("Error: " + s); } public static void main(String[] args) { TestEmployee app = new TestEmployee(); app.test(); } private boolean check(final Employee e, final int id, final double rate, final String[] fnames, final String lname) { if (e.getID() != id) return false; if (e.getHourlyRate() != rate) return false; int numNames = e.getNumberOfFirstNames(); if (numNames != 0 && fnames == null) return false; if (fnames != null && numNames != fnames.length) return false; for (int i=0; i