use of org.opennms.api.integration.ticketing.Ticket in project opennms by OpenNMS.
the class QuickBaseTicketerPluginTest method testGet.
public void testGet() {
//This may need to be changed ;-)
String ticketId = "19";
Ticket newTicket = m_ticketer.get(ticketId);
assertNotNull(newTicket);
assertEquals(ticketId, newTicket.getId());
assertTrue(newTicket.getSummary().startsWith("A Ticket at"));
//TODO: Implement this later when we need 2 way retrieval of comments/details
//assertEquals("These are the details", newTicket.getDetails());
}
Aggregations