### Question:
LocationCache { public UnmodifiableList<URL> getWriteEndpoints() { if (this.locationUnavailabilityInfoByEndpoint.size() > 0 && unavailableLocationsExpirationTimePassed()) { this.updateLocationCache(); } return this.locationInfo.writeEndpoints; } LocationCache(
            List<String> preferredLocations,
            URL defaultEndpoint,
            boolean enableEndpointDiscovery,
            boolean useMultipleWriteLocations,
            Configs configs); UnmodifiableList<URL> getReadEndpoints(); UnmodifiableList<URL> getWriteEndpoints(); void markEndpointUnavailableForRead(URL endpoint); void markEndpointUnavailableForWrite(URL endpoint); void onDatabaseAccountRead(DatabaseAccount databaseAccount); URL resolveServiceEndpoint(RxDocumentServiceRequest request); boolean shouldRefreshEndpoints(Utils.ValueHolder canRefreshInBackground); boolean canUseMultipleWriteLocations(RxDocumentServiceRequest request);  }### Answer:
@Test(groups = "long") public void validateWriteEndpointOrderWithClientSideDisableMultipleWriteLocation() throws Exception { this.initialize(false, true, false); assertThat(this.cache.getWriteEndpoints().get(0)).isEqualTo(LocationCacheTest.Location1Endpoint); assertThat(this.cache.getWriteEndpoints().get(1)).isEqualTo(LocationCacheTest.Location2Endpoint); assertThat(this.cache.getWriteEndpoints().get(2)).isEqualTo(LocationCacheTest.Location3Endpoint); }