public void testSerialization() {
Job job = new Job();
job.setType(JobType.SUBMIT);
{
GradingQueue gradingQueueManager = new GradingQueue("./");
gradingQueueManager.push(job, null);
}
{
GradingQueue gradingQueueManager = new GradingQueue("./");
assertEquals(1, gradingQueueManager.getQueue(JobType.SUBMIT).size());
}