public void ValidUserId() { string returnValue = SqlAppAuthenticationProvider.GetConnectionStringByUserId(Constants.TestUserAssignedManagedIdentityId); Assert.Equal(Constants.ManagedUserAssignedIdentityConnectionString, returnValue); }
public void InvalidUserId() { string returnValue = SqlAppAuthenticationProvider.GetConnectionStringByUserId("NotAGuid"); Assert.Equal(default(string), returnValue); }