### Question:
SessionClient { public synchronized void startSession() { executeStop(); executeStart(); } SessionClient(final PinpointContext pinpointContext); synchronized void startSession(); synchronized void stopSession(); synchronized void pauseSession(); synchronized void resumeSession(); @Override String toString(); static final String SESSION_START_EVENT_TYPE; static final String SESSION_STOP_EVENT_TYPE; static final String SESSION_PAUSE_EVENT_TYPE; static final String SESSION_RESUME_EVENT_TYPE; }### Answer:
@Test public void startSession_firesStartEvent() { target.startSession(); verify(mockAnalyticsClient, times(1)).createEvent( eq(SESSION_START_EVENT_TYPE)); }