public String getName() {
        return name;
    }
@Test
    public void testGetName() {
        // Create an ExceptionEvent with a code
        ExceptionEvent exceptionEvent = new ExceptionEvent("CODE123");

        // Test the getName method
        assertEquals("CODE123", exceptionEvent.getName());
    }