https://pulumi.com logo
#dotnet
Title
r

rapid-motherboard-85863

07/07/2023, 11:54 AM
Hey all, I'm creating a function app resource which uses a storage account. I'm setting a value in the appsettings of the storage account key which I look up using
ListStorageAccountKeys
to get the primary sa key. I was wanting to write some unit tests for this but this class and its contained classes all have private constructors which means I can't create an instance. I've tried using
ConstructorInfo
reflection to create one but struggling, does anyone have any advice?