@Test public void testTrackExceptionWithPropertiesAndMetrics() { Exception exception = new Exception("Exception"); Map<String, String> properties = new HashMap<String, String>() {{ put("key", "value"); }}; Map<String, Double> metrics = new HashMap<String, Double>() {{ put("key", 1d); }}; client.trackException(exception, properties, metrics); verifyAndGetLastEventSent(); }