@Test
public void testSendAnalytics() throws Exception {

	AnalyticsEventsMessage.Builder analyticsEventsMessageBuilder =
		AnalyticsEventsMessage.builder("ApplicationKey", "UserId");
	analyticsEventsMessageBuilder.contextProperty("languageId", "en_US");
	analyticsEventsMessageBuilder.contextProperty(
		"url", "http://www.liferay.com");
	AnalyticsEventsMessage.Event.Builder eventBuilder =
		AnalyticsEventsMessage.Event.builder("ApplicationId", "View");
	eventBuilder.property("elementId", "banner1");
	analyticsEventsMessageBuilder.event(eventBuilder.build());
	analyticsEventsMessageBuilder.protocolVersion("1.0");
	String response = _analyticsClientImpl.sendAnalytics(
		analyticsEventsMessageBuilder.build());
	Assert.assertNull(response);
}