Commit f9d582a0 authored by Aman Verma's avatar Aman Verma
Browse files

asserting account name

parent 41efda87
......@@ -15,6 +15,7 @@
package org.opengroup.osdu.azure.blobstorage;
import com.azure.identity.DefaultAzureCredential;
import com.azure.storage.blob.BlobServiceClient;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
......@@ -77,7 +78,8 @@ public class BlobServiceClientFactoryImplTest {
{
try {
clientFactory = new BlobServiceClientFactoryImpl(credential, configuration);
clientFactory.getBlobServiceClient(PARTITION_ID);
BlobServiceClient client = clientFactory.getBlobServiceClient(PARTITION_ID);
assertEquals("testAccount", client.getAccountName());
} catch (Exception ex) {
fail("Should not fail.");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment