@Test
public void testGetElasticsearchConnectionWithRemoteModeEnabledAndConnectionId() {

	enableRemoteMode();
	setRemoteConnectionId(_REMOTE_1_CONNECTION_ID);
	Assert.assertEquals(
		_remoteElasticsearchConnection1,
		_elasticsearchConnectionManager.getElasticsearchConnection());
	setRemoteConnectionId(_REMOTE_2_CONNECTION_ID);
	Assert.assertEquals(
		_remoteElasticsearchConnection2,
		_elasticsearchConnectionManager.getElasticsearchConnection());
}