public void SetUp() { var existingTempFolder = TempFolderFactory.CreateNonExistingTempFolder(); _directoryInfo = new DirectoryInfo(existingTempFolder); _sut = new AksKeyVaultSecretDirectoryInfo(_directoryInfo); }
public void should_throw_DirectoryNotFoundException() { var rootFolder = TempFolderFactory.CreateNonExistingTempFolder(); var action = new Action(() => new AksKeyVaultSecretFileProvider(rootFolder)); action.Should().Throw <DirectoryNotFoundException>(); }