实例介绍
FakeItEasy是一个针对.NET的动态虚拟库,用于创建各种类型的虚拟对象、模拟、存根等。
它提供了更简单的语义,所有虚拟对象都只是虚拟的,其用途决定了它们是模拟还是存根。
Faking amazing example
// 创建虚拟对象非常容易! // 没有模拟或存根;一切都是虚拟的。 var shop = A.Fake<ICandyShop>(); // 轻松设置调用以返回值。 var lollipop = new Lollipop(); A.CallTo(() => shop.GetTopSellingCandy()).Returns(lollipop); // 使用虚拟对象作为您的系统下测试。 var customer = new SweetTooth(); customer.BuyTastiestCandy(shop); // 断言与配置调用使用相同的语法。 A.CallTo(() => shop.BuyCandy(lollipop)).MustHaveHappened();
【实例截图】
文件清单
└── FakeItEasy-d43aff0fd8c1c43861f2b420beb88a039e6ec118
├── build.cmd
├── build.ps1
├── build.sh
├── CONTRIBUTING.md
├── Directory.Build.props
├── docs
│ ├── advanced-usage.md
│ ├── analyzer.md
│ ├── argument-constraints.md
│ ├── assertion.md
│ ├── assigning-out-and-ref-parameters.md
│ ├── bootstrapper.md
│ ├── calling-base-methods.md
│ ├── calling-wrapped-methods.md
│ ├── capturing-arguments.md
│ ├── changing-behavior-between-calls.md
│ ├── creating-fakes.md
│ ├── css
│ │ └── fakeiteasy.css
│ ├── custom-argument-equality.md
│ ├── custom-dummy-creation.md
│ ├── default-fake-behavior.md
│ ├── doing-nothing.md
│ ├── dummies.md
│ ├── external-resources.md
│ ├── faking-async-methods.md
│ ├── formatting-argument-values.md
│ ├── how-to-fake-internal-types.md
│ ├── img
│ │ ├── favicon.ico
│ │ ├── icon.svg
│ │ ├── large-logo-for-dark.png
│ │ └── large-logo-for-light.png
│ ├── implicit-creation-options.md
│ ├── index.md
│ ├── invoking-custom-code.md
│ ├── limited-call-specifications.md
│ ├── ordered-assertions.md
│ ├── platform-support.md
│ ├── quickstart.md
│ ├── raising-events.md
│ ├── read-write-property-behavior.md
│ ├── Recipes
│ │ └── faking-http-client.md
│ ├── scanning-for-extension-points.md
│ ├── source-stepping.md
│ ├── specifying-a-call-to-configure.md
│ ├── specifying-return-values.md
│ ├── strict-fakes.md
│ ├── throwing-exceptions.md
│ ├── what-can-be-faked.md
│ └── why-was-fakeiteasy-created.md
├── FakeItEasy.sln
├── how_to_build.md
├── License.txt
├── mkdocs.yml
├── profiles
│ ├── full.props
│ ├── net462.props
│ ├── net6.0.props
│ ├── net8.0.props
│ ├── netstandard2.0.props
│ └── netstandard2.1.props
├── README.md
├── recipes
│ ├── Directory.Build.props
│ └── FakeItEasy.Recipes.CSharp
│ ├── CapturingArguments.cs
│ ├── FakeItEasy.Recipes.CSharp.csproj
│ └── FakingHttpClient.cs
├── requirements.in
├── requirements.txt
├── src
│ ├── CommonAssemblyInfo.cs
│ ├── Directory.Build.props
│ ├── FakeItEasy
│ │ ├── A.cs
│ │ ├── An.of.T.cs
│ │ ├── A.of.T.cs
│ │ ├── ArgumentConstraintManagerExtensions.cs
│ │ ├── ArgumentEqualityComparer.cs
│ │ ├── ArgumentValidationConfigurationExtensions.cs
│ │ ├── ArgumentValidationConfigurationExtensions.StronglyTyped.cs
│ │ ├── ArgumentValidationConfigurationExtensions.StronglyTyped.tt
│ │ ├── ArgumentValueFormatter.cs
│ │ ├── AssertConfigurationExtensions.cs
│ │ ├── AsyncReturnValueConfigurationExtensions.cs
│ │ ├── AsyncReturnValueConfigurationExtensions.StronglyTyped.cs
│ │ ├── AsyncReturnValueConfigurationExtensions.StronglyTyped.tt
│ │ ├── BehaviorLifetimeConfigurationExtensions.cs
│ │ ├── CallbackConfigurationExtensions.cs
│ │ ├── CallbackConfigurationExtensions.StronglyTyped.cs
│ │ ├── CallbackConfigurationExtensions.StronglyTyped.tt
│ │ ├── Captured.of.TArgument.cs
│ │ ├── Captured.of.TArgument.TCapture.cs
│ │ ├── CodeGen
│ │ │ └── Ordinals.ttinclude
│ │ ├── Compatibility
│ │ │ ├── AllowNullAttribute.cs
│ │ │ ├── ArrayHelper.cs
│ │ │ ├── CallerArgumentExpressionAttribute.cs
│ │ │ ├── DisallowNullAttribute.cs
│ │ │ ├── MaybeNullAttribute.cs
│ │ │ ├── NotNullAttribute.cs
│ │ │ └── NotNullWhenAttribute.cs
│ │ ├── CompletedFakeObjectCallExtensions.cs
│ │ ├── Configuration
│ │ │ ├── AnyCallCallRule.cs
│ │ │ ├── AnyCallConfiguration.cs
│ │ │ ├── AnyCallConfigurationWithNoReturnTypeSpecifiedExtensions.cs
│ │ │ ├── ArgumentCollection.cs
│ │ │ ├── BuildableCallRule.cs
│ │ │ ├── DefaultInterceptionAsserter.cs
│ │ │ ├── ExceptionThrower.StronglyTyped.cs
│ │ │ ├── ExceptionThrower.StronglyTyped.tt
│ │ │ ├── FakeConfigurationException.cs
│ │ │ ├── FakeConfigurationManager.cs
│ │ │ ├── IAfterCallConfiguredConfiguration.cs
│ │ │ ├── IAfterCallConfiguredWithOutAndRefParametersConfiguration.cs
│ │ │ ├── IAnyCallConfigurationWithNoReturnTypeSpecified.cs
│ │ │ ├── IAnyCallConfigurationWithReturnTypeSpecified.cs
│ │ │ ├── IAnyCallConfigurationWithVoidReturnType.cs
│ │ │ ├── IArgumentValidationConfiguration.cs
│ │ │ ├── IAssertConfiguration.cs
│ │ │ ├── IBehaviorLifetimeConfiguration.cs
│ │ │ ├── ICallBackConfiguration.cs
│ │ │ ├── ICallBaseConfiguration.cs
│ │ │ ├── ICallWrappedMethodConfiguration.cs
│ │ │ ├── IConfigurationFactory.cs
│ │ │ ├── IDoNothingConfiguration.cs
│ │ │ ├── IExceptionThrowerConfiguration.cs
│ │ │ ├── IFakeConfigurationManager.cs
│ │ │ ├── IInterceptionAsserter.cs
│ │ │ ├── IManageEventConfiguration.cs
│ │ │ ├── IOrderableCallAssertion.cs
│ │ │ ├── IOutAndRefParametersConfiguration.cs
│ │ │ ├── IPropertySetterAfterCallbackConfiguredConfiguration.cs
│ │ │ ├── IPropertySetterAnyValueConfiguration.cs
│ │ │ ├── IPropertySetterConfiguration.cs
│ │ │ ├── IReturnValueArgumentValidationConfiguration.cs
│ │ │ ├── IReturnValueConfiguration.cs
│ │ │ ├── IStartConfiguration.cs
│ │ │ ├── IStartConfigurationFactory.cs
│ │ │ ├── IThenConfiguration.cs
│ │ │ ├── IVoidAfterCallbackConfiguredConfiguration.cs
│ │ │ ├── IVoidArgumentValidationConfiguration.cs
│ │ │ ├── IVoidConfiguration.cs
│ │ │ ├── IWhereConfiguration.cs
│ │ │ ├── OutAndRefParameters.StronglyTyped.cs
│ │ │ ├── OutAndRefParameters.StronglyTyped.tt
│ │ │ ├── PropertyExpressionHelper.cs
│ │ │ ├── PropertySetterConfiguration.cs
│ │ │ ├── RuleBuilder.cs
│ │ │ ├── StartConfiguration.cs
│ │ │ └── UnorderedCallAssertion.cs
│ │ ├── Core
│ │ │ ├── ArgumentConstraintTrap.cs
│ │ │ ├── ArgumentEqualityComparer.cs
│ │ │ ├── ArgumentValueFormatter.cs
│ │ │ ├── AssemblyExtensions.cs
│ │ │ ├── BootstrapperLocator.cs
│ │ │ ├── CallCountConstraint.cs
│ │ │ ├── CallRuleMetadata.cs
│ │ │ ├── CallWriter.cs
│ │ │ ├── CompletedFakeObjectCall.cs
│ │ │ ├── DefaultArgumentConstraintManager.cs
│ │ │ ├── DefaultFakeManagerAccessor.cs
│ │ │ ├── DefaultFakeObjectCallFormatter.cs
│ │ │ ├── DelegateRaiser.cs
│ │ │ ├── DummyCreationException.cs
│ │ │ ├── DynamicDummyFactory.cs
│ │ │ ├── DynamicRaiser.cs
│ │ │ ├── EventCall.cs
│ │ │ ├── EventCallHandler.cs
│ │ │ ├── EventHandlerArgumentProviderMap.cs
│ │ │ ├── FakeAsserter.cs
│ │ │ ├── FakeCallEqualityComparer.cs
│ │ │ ├── FakeCallProcessorProvider.cs
│ │ │ ├── FakeCreationException.cs
│ │ │ ├── FakeManager.AutoFakePropertyRule.cs
│ │ │ ├── FakeManager.CancellationRule.cs
│ │ │ ├── FakeManager.cs
│ │ │ ├── FakeManager.DefaultReturnValueRule.cs
│ │ │ ├── FakeManager.EventRule.cs
│ │ │ ├── FakeManager.FakeSnapshot.cs
│ │ │ ├── FakeManager.ObjectMemberRule.cs
│ │ │ ├── FakeManager.PropertyBehaviorRule.cs
│ │ │ ├── FakeManager.PropertySetterRule.cs
│ │ │ ├── FakeManagerProvider.cs
│ │ │ ├── IArgumentConstraint.cs
│ │ │ ├── IArgumentConstraintTrapper.cs
│ │ │ ├── ICallMatcher.cs
│ │ │ ├── ICompletedFakeObjectCall.cs
│ │ │ ├── IEventRaiserArgumentProvider.cs
│ │ │ ├── IFakeAsserter.cs
│ │ │ ├── IFakeCallProcessor.cs
│ │ │ ├── IFakeCallProcessorProvider.cs
│ │ │ ├── IFakeManagerAccessor.cs
│ │ │ ├── IFakeObjectCall.cs
│ │ │ ├── IFakeObjectCallFormatter.cs
│ │ │ ├── IFakeObjectCallRule.cs
│ │ │ ├── IHaveASideEffect.cs
│ │ │ ├── IInterceptedFakeObjectCall.cs
│ │ │ ├── IInterceptionListener.cs
│ │ │ ├── ImplicitOptionsBuilderCatalogue.cs
│ │ │ ├── InterceptedFakeObjectCall.cs
│ │ │ ├── InterceptedFakeObjectCallExtensions.cs
│ │ │ ├── IStatefulFakeObjectCallRule.cs
│ │ │ ├── ITypeCatalogue.cs
│ │ │ ├── ITypedArgumentConstraint.cs
│ │ │ ├── MethodInfoManager.cs
│ │ │ ├── Raise.of.TEventArgs.cs
│ │ │ ├── SequenceNumberManager.cs
│ │ │ ├── SequentialCallContext.cs
│ │ │ ├── StrictFakeRule.cs
│ │ │ ├── TypeCatalogue.cs
│ │ │ ├── TypeCatalogueInstanceProvider.cs
│ │ │ └── WrappedObjectRule.cs
│ │ ├── Creation
│ │ │ ├── CastleDynamicProxy
│ │ │ │ ├── CastleDynamicProxyGenerator.cs
│ │ │ │ ├── CastleDynamicProxyInterceptionValidator.cs
│ │ │ │ ├── CastleInvocationCallAdapter.cs
│ │ │ │ └── DynamicProxyMessages.cs
│ │ │ ├── CreationResult.cs
│ │ │ ├── DelegateProxies
│ │ │ │ ├── CastleInvocationDelegateCallAdapter.cs
│ │ │ │ ├── DelegateProxyGenerator.cs
│ │ │ │ └── DelegateProxyInterceptionValidator.cs
│ │ │ ├── DummyValueResolver.cs
│ │ │ ├── FakeAndDummyManager.cs
│ │ │ ├── FakeObjectCreator.cs
│ │ │ ├── FakeOptions.cs
│ │ │ ├── IDummyValueResolver.cs
│ │ │ ├── IFakeObjectCreator.cs
│ │ │ ├── IFakeOptions.cs
│ │ │ ├── IFakeOptions.of.T.cs
│ │ │ ├── IMethodInterceptionValidator.cs
│ │ │ ├── IProxyOptions.cs
│ │ │ ├── IProxyOptionsFactory.cs
│ │ │ ├── LoopDetectingResolutionContext.cs
│ │ │ ├── ProxyGeneratorResult.cs
│ │ │ ├── ProxyOptions.cs
│ │ │ ├── ProxyOptionsFactory.cs
│ │ │ ├── ResolvedArgument.cs
│ │ │ ├── ResolvedConstructor.cs
│ │ │ └── StringDummyFactory.cs
│ │ ├── DefaultBootstrapper.cs
│ │ ├── DefaultOutputWriter.cs
│ │ ├── DummyFactory.cs
│ │ ├── EnumerableExtensions.cs
│ │ ├── EventAction.cs
│ │ ├── ExceptionExtensions.cs
│ │ ├── ExceptionMessages.cs
│ │ ├── ExceptionThrowerConfigurationExtensions.cs
│ │ ├── ExpectationException.cs
│ │ ├── ExpressionExtensions.cs
│ │ ├── Expressions
│ │ │ ├── ArgumentConstraints
│ │ │ │ ├── AggregateArgumentConstraint.cs
│ │ │ │ ├── EqualityArgumentConstraint.cs
│ │ │ │ ├── IArgumentValueProvider.cs
│ │ │ │ ├── NullArgumentConstraint.cs
│ │ │ │ ├── OutArgumentConstraint.cs
│ │ │ │ └── RefArgumentConstraint.cs
│ │ │ ├── CallConstraintDescriber.cs
│ │ │ ├── CallExpressionParser.cs
│ │ │ ├── ExpressionArgumentConstraintFactory.cs
│ │ │ ├── ExpressionCallMatcher.cs
│ │ │ ├── ExpressionCallRule.cs
│ │ │ ├── ICallExpressionParser.cs
│ │ │ ├── IExpressionCallMatcherFactory.cs
│ │ │ ├── ParsedArgumentExpression.cs
│ │ │ └── ParsedCallExpression.cs
│ │ ├── Fake.cs
│ │ ├── FakeItEasy.csproj
│ │ ├── FakeObjectCallExtensions.cs
│ │ ├── Fake.of.T.cs
│ │ ├── FakeOptionsBuilder.cs
│ │ ├── FakeOptionsExtensions.cs
│ │ ├── Guard.cs
│ │ ├── IArgumentConstraintManager.cs
│ │ ├── IArgumentConstraintManagerFactory.cs
│ │ ├── IArgumentEqualityComparer.cs
│ │ ├── IArgumentValueFormatter.cs
│ │ ├── IBootstrapper.cs
│ │ ├── ICapturableArgumentConstraintManager.cs
│ │ ├── IDummyFactory.cs
│ │ ├── IFakeOptionsBuilder.cs
│ │ ├── IHideObjectMembers.cs
│ │ ├── INegatableArgumentConstraintManager.cs
│ │ ├── IOutputWriter.cs
│ │ ├── LinkedListExtensions.cs
│ │ ├── Manage.cs
│ │ ├── MethodInfoExtensions.cs
│ │ ├── ObjectMembers.cs
│ │ ├── ObjectMethod.cs
│ │ ├── OutAndRefParametersConfigurationExtensions.cs
│ │ ├── OutputWriterExtensions.cs
│ │ ├── ParameterInfoExtensions.cs
│ │ ├── Priority.cs
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ ├── Raise.cs
│ │ ├── ReturnValueConfigurationExtensions.cs
│ │ ├── ReturnValueConfigurationExtensions.StronglyTyped.cs
│ │ ├── ReturnValueConfigurationExtensions.StronglyTyped.tt
│ │ ├── RootModule.cs
│ │ ├── Sdk
│ │ │ └── Create.cs
│ │ ├── ServiceLocator.cs
│ │ ├── StrictFakeOptions.cs
│ │ ├── StringBuilderExtensions.cs
│ │ ├── StringBuilderOutputWriter.cs
│ │ ├── TaskHelper.cs
│ │ ├── Times.cs
│ │ ├── TypeExtensions.cs
│ │ ├── UserCallbackException.cs
│ │ ├── ValueProducerSignatureHelper.cs
│ │ ├── ValueTaskAsyncReturnValueConfigurationExtensions.cs
│ │ ├── ValueTaskAsyncReturnValueConfigurationExtensions.StronglyTyped.cs
│ │ ├── ValueTaskAsyncReturnValueConfigurationExtensions.StronglyTyped.tt
│ │ ├── ValueTaskReturnValueConfigurationExtensions.cs
│ │ ├── ValueTaskReturnValueConfigurationExtensions.StronglyTyped.cs
│ │ ├── ValueTaskReturnValueConfigurationExtensions.StronglyTyped.tt
│ │ └── WhereConfigurationExtensions.cs
│ ├── FakeItEasy.Dictionary.xml
│ ├── FakeItEasy.Extensions.ValueTask
│ │ └── FakeItEasy.Extensions.ValueTask.csproj
│ ├── FakeItEasy.png
│ ├── FakeItEasy.snk
│ └── stylecop.json
├── tests
│ ├── Directory.Build.props
│ ├── FakeItEasy.Dictionary.Tests.xml
│ ├── FakeItEasy.IntegrationTests
│ │ ├── Assertions
│ │ │ └── ExceptionMessagesTests.cs
│ │ ├── AssertionsTests.cs
│ │ ├── BootstrapperLocatorTests.cs
│ │ ├── CallMatchingTests.cs
│ │ ├── ConcurrentCallTests.cs
│ │ ├── DoubleArgumentValueFormatter.cs
│ │ ├── DummyTests.cs
│ │ ├── EnsureReference.cs
│ │ ├── ExceptionMessagesTests.cs
│ │ ├── ExternalAssemblyGenerator.cs
│ │ ├── FakeItEasy.IntegrationTests.csproj
│ │ ├── FakingClassesTests.cs
│ │ ├── GeneralTests.cs
│ │ ├── IFoo.cs
│ │ ├── StringArgumentConstraints.cs
│ │ ├── TypeCatalogueTests.cs
│ │ └── WrapperTests.cs
│ ├── FakeItEasy.IntegrationTests.VB
│ │ ├── FakeItEasy.IntegrationTests.VB.vbproj
│ │ ├── IndexedPropertyTests.vb
│ │ ├── RaisingEventsTests.vb
│ │ └── RefArgumentConstraintTests.vb
│ ├── FakeItEasy.Specs
│ │ ├── AnArgumentConstraintSpecs.cs
│ │ ├── AnyCallConfigurationSpecs.cs
│ │ ├── ArgumentCapturingSpecs.cs
│ │ ├── ArgumentEqualityComparerSpecs.cs
│ │ ├── ArgumentMatchingSpecs.cs
│ │ ├── ArgumentValueFormatterSpecs.cs
│ │ ├── AssertingCallCountSpecs.cs
│ │ ├── AssertingOnSetOnlyPropertiesSpecs.cs
│ │ ├── AssignsOutAndRefParametersSpecs.cs
│ │ ├── CallDescriptionsInAssertionSpecs.cs
│ │ ├── CallMatchingSpecs.cs
│ │ ├── CallsBaseMethodsFakeSpecs.cs
│ │ ├── CancellationSpecs.cs
│ │ ├── ClassWithLongSelfReferentialConstructor.cs
│ │ ├── ConfigurationSpecs.cs
│ │ ├── ConfiguringPropertySetterSpecs.cs
│ │ ├── CreationOptionsSpecs.cs
│ │ ├── CreationSpecs.cs
│ │ ├── DisposableSpecs.cs
│ │ ├── DomainEvents.cs
│ │ ├── DummyCreationSpecs.cs
│ │ ├── DummyFactorySpecs.cs
│ │ ├── EventActionSpecs.cs
│ │ ├── EventRaisingSpecs.cs
│ │ ├── FakeItEasy.Specs.csproj
│ │ ├── FakeManagerSpecs.cs
│ │ ├── FakeOptionsBuilderSpecs.cs
│ │ ├── FakeSpecs.cs
│ │ ├── FakingDelegates.cs
│ │ ├── FakingInternalsSpecs.cs
│ │ ├── FluentApiSpecs.cs
│ │ ├── GlobalSuppressions.cs
│ │ ├── IllegalFluentApiSpecs.cs
│ │ ├── InParametersSpecs.cs
│ │ ├── MakesVirtualCallInConstructor.cs
│ │ ├── ManageEventsSpecs.cs
│ │ ├── ObjectMembersSpecs.cs
│ │ ├── OrderedCallMatchingSpecs.cs
│ │ ├── ReadWritePropertySpecs.cs
│ │ ├── ResetFakeSpecs.cs
│ │ ├── StrictFakeSpecs.cs
│ │ ├── StringExtensions.cs
│ │ ├── ThenSpecs.cs
│ │ ├── ThrowsAsyncSpecs.cs
│ │ ├── UnconfiguredFakeSpecs.cs
│ │ ├── UnconfiguredPropertySpecs.cs
│ │ ├── UnnaturalFakeSpecs.cs
│ │ ├── UserCallbackExceptionSpecs.cs
│ │ ├── ValueTaskReturnValueSpecs.cs
│ │ └── WrappingFakeSpecs.cs
│ ├── FakeItEasy.Tests
│ │ ├── ACallToTests.cs
│ │ ├── ActionOverWriterValueFormatter.cs
│ │ ├── ArgumentConstraintManagerExtensions
│ │ │ ├── CancellationTokenConstraintTestsBase.cs
│ │ │ ├── CancellationTokenIsCanceledTests.cs
│ │ │ ├── CancellationTokenIsNotCanceledTests.cs
│ │ │ ├── CollectionContainsTests.cs
│ │ │ ├── CollectionIsEmptyTests.cs
│ │ │ ├── ComparableGreaterThanTests.cs
│ │ │ ├── DerivedTypeArgumentTests.cs
│ │ │ ├── EqualToConstraintTests.cs
│ │ │ ├── EqualToWithComparerConstraintTests.cs
│ │ │ ├── IsInstanceOfTests.cs
│ │ │ ├── IsNotNullTests.cs
│ │ │ ├── IsNullTests.cs
│ │ │ ├── IsSameSequenceAsTests.cs
│ │ │ ├── IsSameSequenceAsWithLongSequenceTests.cs
│ │ │ ├── NullableIsNotNullTests.cs
│ │ │ ├── NullableIsNullTests.cs
│ │ │ ├── NullCheckedMatchesConstraint.cs
│ │ │ ├── SameAsConstraintTests.cs
│ │ │ ├── StringContainsTests.cs
│ │ │ ├── StringContainsWithComparisonTypeTests.cs
│ │ │ ├── StringEndsWithTests.cs
│ │ │ ├── StringEndsWithWithComparisonTypeTests.cs
│ │ │ ├── StringIsNullOrEmptyTests.cs
│ │ │ ├── StringStartsWithTests.cs
│ │ │ └── StringStartsWithWithComparisonTypeTests.cs
│ │ ├── ArgumentConstraintTestBase.cs
│ │ ├── ArgumentConstraintTestBase.of.T.cs
│ │ ├── ArgumentValidationConfigurationExtensionsTests.cs
│ │ ├── AssertConfigurationExtensionsTests.cs
│ │ ├── BehaviorLifetimeConfigurationExtensionsTests.cs
│ │ ├── CallbackConfigurationExtensionsTests.cs
│ │ ├── Captured.of.TArgument.Tests.cs
│ │ ├── ConcurrentCallTests.cs
│ │ ├── Configuration
│ │ │ ├── AnyCallConfigurationTests.cs
│ │ │ ├── ArgumentCollectionTests.cs
│ │ │ ├── AssertConfigurationTests.cs
│ │ │ ├── BuildableCallRuleTests.cs
│ │ │ ├── FakeConfigurationExceptionTests.cs
│ │ │ ├── FakeConfigurationManagerTests.cs
│ │ │ └── RuleBuilderTests.cs
│ │ ├── Core
│ │ │ ├── ArgumentConstraintTrapTests.cs
│ │ │ ├── ArgumentValueFormatterTests.cs
│ │ │ ├── CallWriterTests.cs
│ │ │ ├── DefaultArgumentConstraintManagerTests.cs
│ │ │ ├── DefaultFakeManagerAccessorTests.cs
│ │ │ ├── DefaultFakeObjectCallFormatterTests.cs
│ │ │ ├── DummyFactoryTests.cs
│ │ │ ├── DynamicDummyFactoryTests.cs
│ │ │ ├── EnumerableOfFakeCallsFactory.cs
│ │ │ ├── FakeAsserterTests.cs
│ │ │ ├── FakeCallEqualityComparerTests.cs
│ │ │ ├── FakeCreationExceptionTests.cs
│ │ │ ├── FakeManagerProviderTests.cs
│ │ │ ├── FakeManagerTests.cs
│ │ │ ├── ImplicitOptionsBuilderCatalogueTests.cs
│ │ │ ├── MethodInfoManagerTests.cs
│ │ │ ├── TypeCatalogueInstanceProviderTests.cs
│ │ │ └── WrappedObjectRuleTests.cs
│ │ ├── Creation
│ │ │ ├── CastleDynamicProxy
│ │ │ │ ├── CastleDynamicProxyGeneratorTests.cs
│ │ │ │ ├── CastleDynamicProxyInterceptionValidatorTests.cs
│ │ │ │ └── CastleInvocationCallAdapterTests.cs
│ │ │ ├── DefaultFakeObjectCreatorTests.cs
│ │ │ ├── DelegateProxies
│ │ │ │ └── DelegateProxyGeneratorTests.cs
│ │ │ ├── DummyValueResolverTests.cs
│ │ │ └── ProxyGeneratorResultTests.cs
│ │ ├── CustomArgumentConstraints.cs
│ │ ├── DefaultBootstrapperTests.cs
│ │ ├── ExceptionContractTests.cs
│ │ ├── ExceptionThrowerConfigurationExtensionsTests.cs
│ │ ├── ExpectationExceptionTests.cs
│ │ ├── Expressions
│ │ │ ├── ArgumentConstraints
│ │ │ │ ├── AggregateArgumentConstraintTests.cs
│ │ │ │ └── EqualityArgumentConstraintTests.cs
│ │ │ ├── CallExpressionParserTests.cs
│ │ │ ├── ExpressionCallRuleTests.cs
│ │ │ └── TypeWithInternalProperty.cs
│ │ ├── FakeCall.cs
│ │ ├── FakeCallRule.cs
│ │ ├── FakeItEasy.Tests.csproj
│ │ ├── FakeObjectCallExtensionsTests.cs
│ │ ├── Fake.of.T.Tests.cs
│ │ ├── FakeOptionsBuilderTests.cs
│ │ ├── FakeOptionsExtensionsTests.cs
│ │ ├── FakeTests.cs
│ │ ├── IEmpty.cs
│ │ ├── IFoo.cs
│ │ ├── IOutputAndRef.cs
│ │ ├── LambdaExpressionDummyFactory.cs
│ │ ├── MethodInfoExtensionsTests.cs
│ │ ├── NullGuardedAssertion.cs
│ │ ├── NullGuardedAssertionTests.cs
│ │ ├── OutAndRefParametersConfigurationExtensionsTests.cs
│ │ ├── OutputWriterExtensionsTests.cs
│ │ ├── PriorityTests.cs
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ ├── RaiseTests.cs
│ │ ├── ReturnValueConfigurationExtensionsTests.cs
│ │ ├── ServiceLocatorTests.cs
│ │ ├── TestHelpers
│ │ │ ├── ExpressionHelper.cs
│ │ │ ├── FakeMethodHelper.cs
│ │ │ └── MethodInfoDummyFactory.cs
│ │ ├── TypeExtensionsTests.cs
│ │ └── WhereConfigurationExtensionsTests.cs
│ ├── FakeItEasy.Tests.Approval
│ │ ├── ApiApproval.cs
│ │ ├── ApprovedApi
│ │ │ ├── FakeItEasy
│ │ │ │ ├── net462.verified.txt
│ │ │ │ ├── net6.0.verified.txt
│ │ │ │ ├── net8.0.verified.txt
│ │ │ │ ├── netstandard2.0.verified.txt
│ │ │ │ └── netstandard2.1.verified.txt
│ │ │ └── FakeItEasy.Extensions.ValueTask
│ │ │ ├── net462.verified.txt
│ │ │ └── netstandard2.0.verified.txt
│ │ └── FakeItEasy.Tests.Approval.csproj
│ ├── FakeItEasy.Tests.ExtensionPoints
│ │ ├── DayOfWeekDummyFactory.cs
│ │ └── FakeItEasy.Tests.ExtensionPoints.csproj
│ ├── FakeItEasy.Tests.TestHelpers
│ │ ├── ClassWithInternalConstructorVisibleToDynamicProxy.cs
│ │ ├── ClassWithInternalEventVisibleToDynamicProxy.cs
│ │ ├── FakeItEasy.Tests.TestHelpers.csproj
│ │ ├── ForTestAttribute.cs
│ │ ├── InternalClassVisibleToDynamicProxy.cs
│ │ ├── ObjectAssertionsExtensions.cs
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ ├── StringAssertionsExtensions.cs
│ │ ├── StringExtensions.cs
│ │ ├── TestCases.cs
│ │ └── UsingCultureAttribute.cs
│ └── FakeItEasy.Tests.TestHelpers.FSharp
│ ├── FakeItEasy.Tests.TestHelpers.FSharp.fsproj
│ ├── IAmADelegateWithAnAnonymousParameter.fs
│ ├── IHaveAMethodWithAnAnonymousParameter.fs
│ └── Properties
│ └── AssemblyInfo.cs
├── tools
│ ├── FakeItEasy.Build
│ │ ├── FakeItEasy.Build.csproj
│ │ └── Program.cs
│ └── prepare_release.cmd
└── tools-shared
50 directories, 517 files
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论