Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Structural Search and Replace Pattern for Migration from Moq to FakeItEasy with Resharper
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=23B254B63645A7449313D9A6F88A5C0C/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=23B254B63645A7449313D9A6F88A5C0C/Comment/@EntryValue">Replace Mock Field with FakeItEasy</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=23B254B63645A7449313D9A6F88A5C0C/CustomPatternPlaceholder/=fieldName/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=23B254B63645A7449313D9A6F88A5C0C/CustomPatternPlaceholder/=fieldName/Properties/=CaseSensitive/@EntryIndexedValue">True</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=23B254B63645A7449313D9A6F88A5C0C/CustomPatternPlaceholder/=fieldName/Properties/=ExactType/@EntryIndexedValue">False</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=23B254B63645A7449313D9A6F88A5C0C/CustomPatternPlaceholder/=fieldName/Properties/=RegEx/@EntryIndexedValue"></s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=23B254B63645A7449313D9A6F88A5C0C/CustomPatternPlaceholder/=fieldName/Type/@EntryValue">IdentifierPlaceholder</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=23B254B63645A7449313D9A6F88A5C0C/CustomPatternPlaceholder/=TType/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=23B254B63645A7449313D9A6F88A5C0C/CustomPatternPlaceholder/=TType/Properties/=ExactType/@EntryIndexedValue">False</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=23B254B63645A7449313D9A6F88A5C0C/CustomPatternPlaceholder/=TType/Properties/=Type/@EntryIndexedValue"></s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=23B254B63645A7449313D9A6F88A5C0C/CustomPatternPlaceholder/=TType/Type/@EntryValue">TypePlaceholder</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=23B254B63645A7449313D9A6F88A5C0C/IsReplacePattern/@EntryValue">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=23B254B63645A7449313D9A6F88A5C0C/LanguageName/@EntryValue">CSHARP</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=23B254B63645A7449313D9A6F88A5C0C/ReplacePattern/@EntryValue">private $TType$ $fieldName$;</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=23B254B63645A7449313D9A6F88A5C0C/SearchPattern/@EntryValue">private Mock&lt;$TType$&gt; $fieldName$;</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=23B254B63645A7449313D9A6F88A5C0C/Severity/@EntryValue">WARNING</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=280143F8C2719E439E678FC2B9DFBF93/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=280143F8C2719E439E678FC2B9DFBF93/Comment/@EntryValue">Moq Setup with Property with Returns to A.CallTo with Returns</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=280143F8C2719E439E678FC2B9DFBF93/CustomPatternPlaceholder/=args/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=280143F8C2719E439E678FC2B9DFBF93/CustomPatternPlaceholder/=args/Properties/=Maximal/@EntryIndexedValue">-1</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=280143F8C2719E439E678FC2B9DFBF93/CustomPatternPlaceholder/=args/Properties/=Minimal/@EntryIndexedValue">-1</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=280143F8C2719E439E678FC2B9DFBF93/CustomPatternPlaceholder/=args/Type/@EntryValue">ArgumentPlaceholder</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=280143F8C2719E439E678FC2B9DFBF93/CustomPatternPlaceholder/=fieldName/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=280143F8C2719E439E678FC2B9DFBF93/CustomPatternPlaceholder/=fieldName/Properties/=CaseSensitive/@EntryIndexedValue">True</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=280143F8C2719E439E678FC2B9DFBF93/CustomPatternPlaceholder/=fieldName/Properties/=ExactType/@EntryIndexedValue">False</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=280143F8C2719E439E678FC2B9DFBF93/CustomPatternPlaceholder/=fieldName/Properties/=RegEx/@EntryIndexedValue"></s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=280143F8C2719E439E678FC2B9DFBF93/CustomPatternPlaceholder/=fieldName/Type/@EntryValue">IdentifierPlaceholder</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=280143F8C2719E439E678FC2B9DFBF93/CustomPatternPlaceholder/=lambda/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=280143F8C2719E439E678FC2B9DFBF93/CustomPatternPlaceholder/=lambda/Properties/=CaseSensitive/@EntryIndexedValue">True</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=280143F8C2719E439E678FC2B9DFBF93/CustomPatternPlaceholder/=lambda/Properties/=ExactType/@EntryIndexedValue">False</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=280143F8C2719E439E678FC2B9DFBF93/CustomPatternPlaceholder/=lambda/Properties/=RegEx/@EntryIndexedValue"></s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=280143F8C2719E439E678FC2B9DFBF93/CustomPatternPlaceholder/=lambda/Type/@EntryValue">IdentifierPlaceholder</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=280143F8C2719E439E678FC2B9DFBF93/CustomPatternPlaceholder/=stmt/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=280143F8C2719E439E678FC2B9DFBF93/CustomPatternPlaceholder/=stmt/Properties/=CaseSensitive/@EntryIndexedValue">True</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=280143F8C2719E439E678FC2B9DFBF93/CustomPatternPlaceholder/=stmt/Properties/=ExactType/@EntryIndexedValue">False</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=280143F8C2719E439E678FC2B9DFBF93/CustomPatternPlaceholder/=stmt/Properties/=RegEx/@EntryIndexedValue"></s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=280143F8C2719E439E678FC2B9DFBF93/CustomPatternPlaceholder/=stmt/Type/@EntryValue">IdentifierPlaceholder</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=280143F8C2719E439E678FC2B9DFBF93/IsReplacePattern/@EntryValue">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=280143F8C2719E439E678FC2B9DFBF93/LanguageName/@EntryValue">CSHARP</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=280143F8C2719E439E678FC2B9DFBF93/ReplacePattern/@EntryValue">A.CallTo(() =&gt; this.$fieldName$.$stmt$).Returns($args$);</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=280143F8C2719E439E678FC2B9DFBF93/SearchPattern/@EntryValue">this.$fieldName$.Setup($lambda$ =&gt; $lambda$.$stmt$).Returns($args$);</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=280143F8C2719E439E678FC2B9DFBF93/Severity/@EntryValue">WARNING</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/Comment/@EntryValue">Moq Setup with Method with Throws to A.CallTo with Throws</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/CustomPatternPlaceholder/=args/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/CustomPatternPlaceholder/=args/Properties/=Maximal/@EntryIndexedValue">-1</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/CustomPatternPlaceholder/=args/Properties/=Minimal/@EntryIndexedValue">-1</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/CustomPatternPlaceholder/=args/Type/@EntryValue">ArgumentPlaceholder</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/CustomPatternPlaceholder/=fieldName/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/CustomPatternPlaceholder/=fieldName/Properties/=CaseSensitive/@EntryIndexedValue">True</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/CustomPatternPlaceholder/=fieldName/Properties/=ExactType/@EntryIndexedValue">False</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/CustomPatternPlaceholder/=fieldName/Properties/=RegEx/@EntryIndexedValue"></s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/CustomPatternPlaceholder/=fieldName/Type/@EntryValue">IdentifierPlaceholder</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/CustomPatternPlaceholder/=iargs/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/CustomPatternPlaceholder/=iargs/Properties/=Maximal/@EntryIndexedValue">-1</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/CustomPatternPlaceholder/=iargs/Properties/=Minimal/@EntryIndexedValue">-1</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/CustomPatternPlaceholder/=iargs/Type/@EntryValue">ArgumentPlaceholder</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/CustomPatternPlaceholder/=lambda/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/CustomPatternPlaceholder/=lambda/Properties/=CaseSensitive/@EntryIndexedValue">True</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/CustomPatternPlaceholder/=lambda/Properties/=ExactType/@EntryIndexedValue">False</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/CustomPatternPlaceholder/=lambda/Properties/=RegEx/@EntryIndexedValue"></s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/CustomPatternPlaceholder/=lambda/Type/@EntryValue">IdentifierPlaceholder</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/CustomPatternPlaceholder/=stmt/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/CustomPatternPlaceholder/=stmt/Properties/=CaseSensitive/@EntryIndexedValue">True</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/CustomPatternPlaceholder/=stmt/Properties/=ExactType/@EntryIndexedValue">False</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/CustomPatternPlaceholder/=stmt/Properties/=RegEx/@EntryIndexedValue"></s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/CustomPatternPlaceholder/=stmt/Type/@EntryValue">IdentifierPlaceholder</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/IsReplacePattern/@EntryValue">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/LanguageName/@EntryValue">CSHARP</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/ReplacePattern/@EntryValue">A.CallTo(() =&gt; this.$fieldName$.$stmt$($iargs$)).Throws($args$);</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/SearchPattern/@EntryValue">this.$fieldName$.Setup($lambda$ =&gt; $lambda$.$stmt$($iargs$)).Throws($args$);</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=28FDEB678511384B9266BB7B4B83FEE1/Severity/@EntryValue">WARNING</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=34A6A2770F81844DABFA8D933EC287BF/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=34A6A2770F81844DABFA8D933EC287BF/Comment/@EntryValue">Replace a Moq Mock with FakeItEasy</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=34A6A2770F81844DABFA8D933EC287BF/CustomPatternPlaceholder/=fieldName/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=34A6A2770F81844DABFA8D933EC287BF/CustomPatternPlaceholder/=fieldName/Properties/=CaseSensitive/@EntryIndexedValue">True</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=34A6A2770F81844DABFA8D933EC287BF/CustomPatternPlaceholder/=fieldName/Properties/=ExactType/@EntryIndexedValue">False</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=34A6A2770F81844DABFA8D933EC287BF/CustomPatternPlaceholder/=fieldName/Properties/=RegEx/@EntryIndexedValue"></s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=34A6A2770F81844DABFA8D933EC287BF/CustomPatternPlaceholder/=fieldName/Type/@EntryValue">IdentifierPlaceholder</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=34A6A2770F81844DABFA8D933EC287BF/CustomPatternPlaceholder/=TType/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=34A6A2770F81844DABFA8D933EC287BF/CustomPatternPlaceholder/=TType/Properties/=ExactType/@EntryIndexedValue">False</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=34A6A2770F81844DABFA8D933EC287BF/CustomPatternPlaceholder/=TType/Properties/=Type/@EntryIndexedValue"></s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=34A6A2770F81844DABFA8D933EC287BF/CustomPatternPlaceholder/=TType/Type/@EntryValue">TypePlaceholder</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=34A6A2770F81844DABFA8D933EC287BF/IsReplacePattern/@EntryValue">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=34A6A2770F81844DABFA8D933EC287BF/LanguageName/@EntryValue">CSHARP</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=34A6A2770F81844DABFA8D933EC287BF/ReplaceComment/@EntryValue">Defines a FakeItEasy Fake</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=34A6A2770F81844DABFA8D933EC287BF/ReplacePattern/@EntryValue">this.$fieldName$ = A.Fake&lt;$TType$&gt;();</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=34A6A2770F81844DABFA8D933EC287BF/SearchPattern/@EntryValue">this.$fieldName$ = new Mock&lt;$TType$&gt;();</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=34A6A2770F81844DABFA8D933EC287BF/Severity/@EntryValue">WARNING</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/Comment/@EntryValue">Moq Setup with Method with Returns to A.CallTo with Returns</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/CustomPatternPlaceholder/=args/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/CustomPatternPlaceholder/=args/Properties/=Maximal/@EntryIndexedValue">-1</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/CustomPatternPlaceholder/=args/Properties/=Minimal/@EntryIndexedValue">-1</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/CustomPatternPlaceholder/=args/Type/@EntryValue">ArgumentPlaceholder</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/CustomPatternPlaceholder/=fieldName/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/CustomPatternPlaceholder/=fieldName/Properties/=CaseSensitive/@EntryIndexedValue">True</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/CustomPatternPlaceholder/=fieldName/Properties/=ExactType/@EntryIndexedValue">False</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/CustomPatternPlaceholder/=fieldName/Properties/=RegEx/@EntryIndexedValue"></s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/CustomPatternPlaceholder/=fieldName/Type/@EntryValue">IdentifierPlaceholder</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/CustomPatternPlaceholder/=iargs/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/CustomPatternPlaceholder/=iargs/Properties/=Maximal/@EntryIndexedValue">-1</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/CustomPatternPlaceholder/=iargs/Properties/=Minimal/@EntryIndexedValue">-1</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/CustomPatternPlaceholder/=iargs/Type/@EntryValue">ArgumentPlaceholder</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/CustomPatternPlaceholder/=lambda/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/CustomPatternPlaceholder/=lambda/Properties/=CaseSensitive/@EntryIndexedValue">True</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/CustomPatternPlaceholder/=lambda/Properties/=ExactType/@EntryIndexedValue">False</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/CustomPatternPlaceholder/=lambda/Properties/=RegEx/@EntryIndexedValue"></s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/CustomPatternPlaceholder/=lambda/Type/@EntryValue">IdentifierPlaceholder</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/CustomPatternPlaceholder/=stmt/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/CustomPatternPlaceholder/=stmt/Properties/=CaseSensitive/@EntryIndexedValue">True</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/CustomPatternPlaceholder/=stmt/Properties/=ExactType/@EntryIndexedValue">False</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/CustomPatternPlaceholder/=stmt/Properties/=RegEx/@EntryIndexedValue"></s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/CustomPatternPlaceholder/=stmt/Type/@EntryValue">IdentifierPlaceholder</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/IsReplacePattern/@EntryValue">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/LanguageName/@EntryValue">CSHARP</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/ReplacePattern/@EntryValue">A.CallTo(() =&gt; this.$fieldName$.$stmt$($iargs$)).Returns($args$);</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/SearchPattern/@EntryValue">this.$fieldName$.Setup($lambda$ =&gt; $lambda$.$stmt$($iargs$)).Returns($args$);</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=536A22B867F2F94A972F8670BDB78902/Severity/@EntryValue">WARNING</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=88926687FB7A79409634BAA5BA12D7AD/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=88926687FB7A79409634BAA5BA12D7AD/Comment/@EntryValue">Replace Moq Object with FakeItEasy</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=88926687FB7A79409634BAA5BA12D7AD/CustomPatternPlaceholder/=fieldName/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=88926687FB7A79409634BAA5BA12D7AD/CustomPatternPlaceholder/=fieldName/Properties/=ExactType/@EntryIndexedValue">False</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=88926687FB7A79409634BAA5BA12D7AD/CustomPatternPlaceholder/=fieldName/Properties/=ExpressionType/@EntryIndexedValue"></s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=88926687FB7A79409634BAA5BA12D7AD/CustomPatternPlaceholder/=fieldName/Type/@EntryValue">ExpressionPlaceholder</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=88926687FB7A79409634BAA5BA12D7AD/IsReplacePattern/@EntryValue">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=88926687FB7A79409634BAA5BA12D7AD/LanguageName/@EntryValue">CSHARP</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=88926687FB7A79409634BAA5BA12D7AD/ReplacePattern/@EntryValue">$fieldName$</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=88926687FB7A79409634BAA5BA12D7AD/SearchPattern/@EntryValue">$fieldName$.Object</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=88926687FB7A79409634BAA5BA12D7AD/Severity/@EntryValue">WARNING</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=B4992962091C70448E9784BDAFBC09A1/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=B4992962091C70448E9784BDAFBC09A1/Comment/@EntryValue">Moq Verify with Method to A.CallTo with MustHaveHappened</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=B4992962091C70448E9784BDAFBC09A1/CustomPatternPlaceholder/=fieldName/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=B4992962091C70448E9784BDAFBC09A1/CustomPatternPlaceholder/=fieldName/Properties/=CaseSensitive/@EntryIndexedValue">True</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=B4992962091C70448E9784BDAFBC09A1/CustomPatternPlaceholder/=fieldName/Properties/=ExactType/@EntryIndexedValue">False</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=B4992962091C70448E9784BDAFBC09A1/CustomPatternPlaceholder/=fieldName/Properties/=RegEx/@EntryIndexedValue"></s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=B4992962091C70448E9784BDAFBC09A1/CustomPatternPlaceholder/=fieldName/Type/@EntryValue">IdentifierPlaceholder</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=B4992962091C70448E9784BDAFBC09A1/CustomPatternPlaceholder/=iargs/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=B4992962091C70448E9784BDAFBC09A1/CustomPatternPlaceholder/=iargs/Properties/=Maximal/@EntryIndexedValue">-1</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=B4992962091C70448E9784BDAFBC09A1/CustomPatternPlaceholder/=iargs/Properties/=Minimal/@EntryIndexedValue">-1</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=B4992962091C70448E9784BDAFBC09A1/CustomPatternPlaceholder/=iargs/Type/@EntryValue">ArgumentPlaceholder</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=B4992962091C70448E9784BDAFBC09A1/CustomPatternPlaceholder/=lambda/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=B4992962091C70448E9784BDAFBC09A1/CustomPatternPlaceholder/=lambda/Properties/=CaseSensitive/@EntryIndexedValue">True</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=B4992962091C70448E9784BDAFBC09A1/CustomPatternPlaceholder/=lambda/Properties/=ExactType/@EntryIndexedValue">False</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=B4992962091C70448E9784BDAFBC09A1/CustomPatternPlaceholder/=lambda/Properties/=RegEx/@EntryIndexedValue"></s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=B4992962091C70448E9784BDAFBC09A1/CustomPatternPlaceholder/=lambda/Type/@EntryValue">IdentifierPlaceholder</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=B4992962091C70448E9784BDAFBC09A1/CustomPatternPlaceholder/=stmt/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=B4992962091C70448E9784BDAFBC09A1/CustomPatternPlaceholder/=stmt/Properties/=Maximal/@EntryIndexedValue">-1</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=B4992962091C70448E9784BDAFBC09A1/CustomPatternPlaceholder/=stmt/Properties/=Minimal/@EntryIndexedValue">-1</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=B4992962091C70448E9784BDAFBC09A1/CustomPatternPlaceholder/=stmt/Type/@EntryValue">ArgumentPlaceholder</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=B4992962091C70448E9784BDAFBC09A1/IsReplacePattern/@EntryValue">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=B4992962091C70448E9784BDAFBC09A1/LanguageName/@EntryValue">CSHARP</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=B4992962091C70448E9784BDAFBC09A1/ReplacePattern/@EntryValue">A.CallTo(() =&gt; this.$fieldName$.$stmt$($iargs$)).MustHaveHappened();</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=B4992962091C70448E9784BDAFBC09A1/SearchPattern/@EntryValue">this.$fieldName$.Verify($lambda$ =&gt; $lambda$.$stmt$($iargs$));</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=B4992962091C70448E9784BDAFBC09A1/Severity/@EntryValue">WARNING</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=E695841B131D8947A28A67BF2AC5BC09/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=E695841B131D8947A28A67BF2AC5BC09/Comment/@EntryValue">Replace Moq It.IsAny with A</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=E695841B131D8947A28A67BF2AC5BC09/CustomPatternPlaceholder/=TType/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=E695841B131D8947A28A67BF2AC5BC09/CustomPatternPlaceholder/=TType/Properties/=ExactType/@EntryIndexedValue">True</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=E695841B131D8947A28A67BF2AC5BC09/CustomPatternPlaceholder/=TType/Properties/=Type/@EntryIndexedValue"></s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=E695841B131D8947A28A67BF2AC5BC09/CustomPatternPlaceholder/=TType/Type/@EntryValue">TypePlaceholder</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=E695841B131D8947A28A67BF2AC5BC09/IsReplacePattern/@EntryValue">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=E695841B131D8947A28A67BF2AC5BC09/LanguageName/@EntryValue">CSHARP</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=E695841B131D8947A28A67BF2AC5BC09/ReplacePattern/@EntryValue">A&lt;$TType$&gt;._</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=E695841B131D8947A28A67BF2AC5BC09/SearchPattern/@EntryValue">It.IsAny&lt;$TType$&gt;()</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=E695841B131D8947A28A67BF2AC5BC09/Severity/@EntryValue">WARNING</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=F9CED7D4C7D92444BCFB110237885672/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=F9CED7D4C7D92444BCFB110237885672/Comment/@EntryValue">Moq Verify with Property to A.CallTo with MustHaveHappened</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=F9CED7D4C7D92444BCFB110237885672/CustomPatternPlaceholder/=fieldName/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=F9CED7D4C7D92444BCFB110237885672/CustomPatternPlaceholder/=fieldName/Properties/=CaseSensitive/@EntryIndexedValue">True</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=F9CED7D4C7D92444BCFB110237885672/CustomPatternPlaceholder/=fieldName/Properties/=ExactType/@EntryIndexedValue">False</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=F9CED7D4C7D92444BCFB110237885672/CustomPatternPlaceholder/=fieldName/Properties/=RegEx/@EntryIndexedValue"></s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=F9CED7D4C7D92444BCFB110237885672/CustomPatternPlaceholder/=fieldName/Type/@EntryValue">IdentifierPlaceholder</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=F9CED7D4C7D92444BCFB110237885672/CustomPatternPlaceholder/=lambda/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=F9CED7D4C7D92444BCFB110237885672/CustomPatternPlaceholder/=lambda/Properties/=CaseSensitive/@EntryIndexedValue">True</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=F9CED7D4C7D92444BCFB110237885672/CustomPatternPlaceholder/=lambda/Properties/=ExactType/@EntryIndexedValue">False</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=F9CED7D4C7D92444BCFB110237885672/CustomPatternPlaceholder/=lambda/Properties/=RegEx/@EntryIndexedValue"></s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=F9CED7D4C7D92444BCFB110237885672/CustomPatternPlaceholder/=lambda/Type/@EntryValue">IdentifierPlaceholder</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=F9CED7D4C7D92444BCFB110237885672/CustomPatternPlaceholder/=stmt/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=F9CED7D4C7D92444BCFB110237885672/CustomPatternPlaceholder/=stmt/Properties/=Maximal/@EntryIndexedValue">-1</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=F9CED7D4C7D92444BCFB110237885672/CustomPatternPlaceholder/=stmt/Properties/=Minimal/@EntryIndexedValue">-1</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=F9CED7D4C7D92444BCFB110237885672/CustomPatternPlaceholder/=stmt/Type/@EntryValue">ArgumentPlaceholder</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=F9CED7D4C7D92444BCFB110237885672/IsReplacePattern/@EntryValue">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=F9CED7D4C7D92444BCFB110237885672/LanguageName/@EntryValue">CSHARP</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=F9CED7D4C7D92444BCFB110237885672/ReplacePattern/@EntryValue">A.CallTo(() =&gt; this.$fieldName$.$stmt$).MustHaveHappened();</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=F9CED7D4C7D92444BCFB110237885672/SearchPattern/@EntryValue">this.$fieldName$.Verify($lambda$ =&gt; $lambda$.$stmt$);</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=F9CED7D4C7D92444BCFB110237885672/Severity/@EntryValue">WARNING</s:String></wpf:ResourceDictionary>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment