How to create unit test of webservice which add key value in database

前端 未结 0 341
-上瘾入骨i
-上瘾入骨i 2021-01-30 04:45

That is my code which i want to test it:

    public async Task AddKeyAsync(Key privateKey)
    {
        privateKey.Value = this.EncryptKey(privateKey.Value);

           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题