New to mocking so bare with me :-)
trying to create a mock up of and AzureConnection within my function app. To create the connection to Azure i have a class "AzureConnection.cs that initiates a connection to Azure using "IAuthenticated Authenticate" iam able to Mock this without issues, but when i try to arrange my connection to always return a specific TenantId it fails!
var AzureConnectionMock = Mock.Create<AzureConnection>(Behavior.Loose);
Mock.Arrange(() => AzureConnectionMock.AzureAuthenticated.TenantId)
Maybe iam doing this completely wrong, thus hopping someone could help?