@Test
public void testCaseStarted() throws JMSException {

    CaseFileInstanceImpl caseFile = new CaseFileInstanceImpl("TEST-01", "case");
    CaseStartEvent event = new CaseStartEvent("user", "TEST-01", "test", "case", caseFile, 1L);
    
    logProducer.afterCaseStarted(event);
    
    verify(message, times(1)).setStringProperty(eq("LogType"), eq("Case"));
    verify(message, times(1)).setIntProperty(eq("EventType"), eq(AFTER_CASE_STARTED_EVENT_TYPE));
    verify(producer, times(1)).setPriority(eq(8));
    verify(producer, times(1)).send(eq(message));
}