Java test fails (tostring)
<p>I have this Java program, but my test gives me this message: </p>

<blockquote>
  <p>testEmployeeTostring: failed testEmployeeTostring expected &lt;[id[=
  1013, name= Jubal Early, job = ]procurement]> but was: &lt;[id[= 1013,
  name= Jubal Early, job = ] procurement]></p>
</blockquote>

<p>I had to use <code>@Override</code> and I think that's the problem. I hope someone can figure out the problem with this: </p>

<pre><code>public class Employee {

        int id;
        String name;
        JobType job;

        public Employee(int id, String name, JobType job)
        {
                this.id = id;
                this.name = name;
                this.job = job;
        }

        @Override public String toString()
        {
                return ("["+ "id =" + id + ", name = "  + name + ", job = " + job + "]");
        }
}
</code></pre>
