@Test
@SuppressWarnings("unchecked")
public void logEvent() {

    // ACT
    this.subject.logEvent(new EventBuilder("test")
            .setAction("an action")
            .get());
    // Assert
    verify(this.mixpanelAPI).trackMap(eq("test"), anyMap());
}