ITMSServer server = Utils.createTMSServer();
Notification notification = new Notification("taskID", new URI("http://localhost/1"), Utils.createXMLDocument());
notification.getUserOwners().add("test/user1");
notification.getRoleOwners().add("test/role3");
ITaskDAOConnectionFactory daoFactory=new SimpleTaskDAOConnectionFactory();
ITaskDAOConnection dao=daoFactory.openConnection();
server.create(dao,notification, "token1");
TaskEquality.areTasksEquals(notification, server.getTask(dao,"taskID", "token1"));
TaskEquality.areTasksEquals(notification, server.getTask(dao,"taskID", "token2"));
TaskEquality.areTasksEquals(notification, server.getTaskList(dao,"token1")[0]);