### Question:
SessionContainer implements ISessionContainer { @Override public void setSessionToken(RxDocumentServiceRequest request, Map<String, String> responseHeaders) { String token = responseHeaders.get(HttpConstants.HttpHeaders.SESSION_TOKEN); if (!Strings.isNullOrEmpty(token)) { ValueHolder<ResourceId> resourceId = ValueHolder.initialize(null); ValueHolder<String> collectionName = ValueHolder.initialize(null); if (shouldUpdateSessionToken(request, responseHeaders, resourceId, collectionName)) { this.setSessionToken(resourceId.v, collectionName.v, token); } } } SessionContainer(final String hostName); String getHostName(); String getSessionToken(String collectionLink); String resolveGlobalSessionToken(RxDocumentServiceRequest request); @Override ISessionToken resolvePartitionLocalSessionToken(RxDocumentServiceRequest request, String partitionKeyRangeId); @Override void clearTokenByCollectionFullName(String collectionFullName); @Override void clearTokenByResourceId(String resourceId); @Override void setSessionToken(RxDocumentServiceRequest request, Map<String, String> responseHeaders); @Override void setSessionToken(String collectionRid, String collectionFullName, Map<String, String> responseHeaders);  }### Answer:
@Test(groups = "unit") public void setSessionTokenDoesntFailOnEmptySessionTokenHeader() { SessionContainer sessionContainer = new SessionContainer("127.0.0.1"); sessionContainer.setSessionToken(null, new HashMap<>()); }