use of com.microsoft.appcenter.analytics.ingestion.models.one.json.CommonSchemaEventLogFactory in project mobile-center-sdk-android by Microsoft.
the class EventLogFactoryTest method dontConvertEventWithoutTargetTokens.
@Test
public void dontConvertEventWithoutTargetTokens() {
/* Create event log with just a name and no target. */
EventLog log = new EventLog();
log.setName("test");
Collection<CommonSchemaLog> convertedLogs = new CommonSchemaEventLogFactory().toCommonSchemaLogs(log);
assertNotNull(convertedLogs);
assertEquals(0, convertedLogs.size());
}
Aggregations