0

Is there a way to mockup the VaultSharp VaultClient? I'm looking to build out a few unit tests

Any examples would be greatly appreciated

eg

vaultClient.SubstituteFor<IVaultClient>()

vaultClient.V1.Secrets.KeyValue.V2.ReadSecretAsync("",null,"").Returns(....)
Laurel
  • 5,965
  • 14
  • 31
  • 57

0 Answers0