Изменения документа Moq
Редактировал(а) Alexandr Fokin 2023/04/26 10:15
отредактировано Alexandr Fokin
на 2023/04/20 09:40
на 2023/04/20 09:40
отредактировано Alexandr Fokin
на 2022/07/19 21:04
на 2022/07/19 21:04
Изменить комментарий:
К данной версии нет комментариев
Комментарий
-
Свойства страницы (1 изменено, 0 добавлено, 0 удалено)
Подробности
- Свойства страницы
-
- Содержимое
-
... ... @@ -1,45 +1,3 @@ 1 1 moq/moq4 2 2 [[https:~~/~~/github.com/moq/moq4/tree/ecd540409>>https://github.com/moq/moq4/tree/ecd540409]] 3 3 [[https:~~/~~/www.nuget.org/packages/Moq/>>https://www.nuget.org/packages/Moq/]] 4 - 5 ----- 6 - 7 -{{code language="C#"}} 8 -var moq = new Mock<IReadInterface>(); 9 -moq 10 - .Setup(e => e.Method(It.IsAny<string>())) 11 - .Returns( 12 - ValueTask.FromResult( 13 - new Result() 14 - ) 15 - ); 16 -{{/code}} 17 - 18 ----- 19 - 20 -Moq vs NSubstitute - Who is the winner? 21 -[[https:~~/~~/dev.to/cloudx/moq-vs-nsubstitute-who-is-the-winner-40gi>>https://dev.to/cloudx/moq-vs-nsubstitute-who-is-the-winner-40gi]] 22 - 23 ----- 24 - 25 -==== Внутренние ссылки: ==== 26 - 27 -====== Дочерние страницы: ====== 28 - 29 -{{children/}} 30 - 31 -====== Обратные ссылки: ====== 32 - 33 -{{velocity}} 34 -#set ($links = $doc.getBacklinks()) 35 -#if ($links.size() > 0) 36 - #foreach ($docname in $links) 37 - #set ($rdoc = $xwiki.getDocument($docname).getTranslatedDocument()) 38 - * [[$escapetool.xml($rdoc.fullName)]] 39 - #end 40 -#else 41 - No back links for this page! 42 -#end 43 -{{/velocity}} 44 - 45 -----