@Test
public void testAddDeadline() {

	String line = "HARD_DEADLINE d0_0 ON sink AT 0.0003";
	String suffix = "_0";
	Task task0 = new Task("sink_0");
	Application<Task, Dependency> application = new Application<Task, Dependency>();
	application.addVertex(task0);
	String deadlineType = ReaderTGFF.HARD_DEADLINE;
	ReaderTGFF reader = new ReaderTGFF();
	reader.addDeadline(line, suffix, application, deadlineType);
	Assert.assertNotNull(application.iterator().next().getAttribute(deadlineType));
	Assert.assertEquals(0.0003, application.iterator().next().getAttribute(deadlineType));
}