当前位置: 首页>>代码示例>>C#>>正文


C# GuardClauseAssertion.VerifyConstructors方法代码示例

本文整理汇总了C#中Ploeh.AutoFixture.Idioms.GuardClauseAssertion.VerifyConstructors方法的典型用法代码示例。如果您正苦于以下问题:C# GuardClauseAssertion.VerifyConstructors方法的具体用法?C# GuardClauseAssertion.VerifyConstructors怎么用?C# GuardClauseAssertion.VerifyConstructors使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Ploeh.AutoFixture.Idioms.GuardClauseAssertion的用法示例。


在下文中一共展示了GuardClauseAssertion.VerifyConstructors方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Sut_GuardClauses

		public void Sut_GuardClauses(
		  GuardClauseAssertion	assertion)
		{
			//arrange

			//act
			assertion.VerifyConstructors<ObserveCanExecuteStrategy<object>>();

			//assert
		}
开发者ID:Galad,项目名称:Hanno,代码行数:10,代码来源:ObserveCanExecuteStrategyTests.cs

示例2: Sut_VerifyGuardClauses

		public void Sut_VerifyGuardClauses(Fixture fixture)
		{
			var assertion = new GuardClauseAssertion(
				fixture,
				new SkipSpecifiedParametersBehaviorExpectation(
				new CompositeBehaviorExpectation(
					new EmptyGuidBehaviorExpectation(),
					new NullReferenceBehaviorExpectation()),
				"value")
				);
			assertion.VerifyConstructors<CacheEntry<string>>();
		}
开发者ID:Galad,项目名称:Hanno,代码行数:12,代码来源:CacheEntryTests.cs

示例3: Sut_VerifyGuardClauses

		public void Sut_VerifyGuardClauses(GuardClauseAssertion assertion)
		{
			assertion.VerifyConstructors<DeserializerHttpRequestResultReader>();
		}
开发者ID:Galad,项目名称:Hanno,代码行数:4,代码来源:DeserializerHttpRequestResultReaderTests.cs

示例4: Sut_VerifyGuardClauses

		public void Sut_VerifyGuardClauses(GuardClauseAssertion assertion)
		{
			assertion.VerifyConstructors<MemoryCacheEntryRepository>();
		}
开发者ID:Galad,项目名称:Hanno,代码行数:4,代码来源:MemoryCacheEntryRepositoryTests.cs

示例5: Sut_VerifyConstructors

		public void Sut_VerifyConstructors(GuardClauseAssertion assertion)
		{
			assertion.VerifyConstructors<DefaultHttpRequestResolver>();
		}
开发者ID:Galad,项目名称:Hanno,代码行数:4,代码来源:DefaultHttpRequestResolverTests.cs

示例6: Sut_ConstructorGuardClauses

		public void Sut_ConstructorGuardClauses(
		  GuardClauseAssertion assertion)
		{
			assertion.VerifyConstructors<ObservablePropertyBeforeSetterInterceptor<object>>();
		}
开发者ID:Galad,项目名称:Hanno,代码行数:5,代码来源:ObservablePropertyBeforeSetterInterceptorTests.cs

示例7: Sut_VerifyConstructor

		public void Sut_VerifyConstructor(GuardClauseAssertion assertion)
		{
			assertion.VerifyConstructors<EnumerableAsyncCommand<IAsyncCommand>>();
		}
开发者ID:Galad,项目名称:Hanno,代码行数:4,代码来源:EnumerableAsyncCommandTests.cs

示例8: Constructor_GuardClauses

		public void Constructor_GuardClauses(
			GuardClauseAssertion assertions)
		{
			assertions.VerifyConstructors<CompositeCommandHandler<TestCommand>>();
		}
开发者ID:Galad,项目名称:Hanno,代码行数:5,代码来源:CompositeCommandHandlerTests.cs

示例9: Sut_VerifyConstructorGuardClauses

		public void Sut_VerifyConstructorGuardClauses(GuardClauseAssertion assertion)
		{
			assertion.VerifyConstructors<CompositeParallelInitializable>();
		}
开发者ID:Galad,项目名称:Hanno,代码行数:4,代码来源:CompositeParallelInitializableTests.cs

示例10: Sut_VerifyConstructor

		public void Sut_VerifyConstructor(GuardClauseAssertion assertion)
		{
			assertion.VerifyConstructors<EnumerableArrayResultAsyncQuery<IAsyncQuery<object>, string>>();
        }
开发者ID:Galad,项目名称:Hanno,代码行数:4,代码来源:EnumerableArrayResultAsyncQueryTests.cs

示例11: Sut_ConstructorGuardClause

		public void Sut_ConstructorGuardClause(GuardClauseAssertion assertion)
		{
			assertion.VerifyConstructors<AsyncCommandQueryBus>();
		}
开发者ID:Galad,项目名称:Hanno,代码行数:4,代码来源:AsyncCommandQueryBusTests.cs

示例12: Sut_TestGuardClauses

		public void Sut_TestGuardClauses(
			GuardClauseAssertion assertion)
		{
			assertion.VerifyConstructors<CacheService>();
		}
开发者ID:Galad,项目名称:Hanno,代码行数:5,代码来源:CacheServiceTests.cs

示例13: Sut_TestGuardClauses

		public void Sut_TestGuardClauses(
		  GuardClauseAssertion assertion)
		{
			assertion.VerifyConstructors<CacheAsyncQueryBus>();
		}
开发者ID:Galad,项目名称:Hanno,代码行数:5,代码来源:CacheAsyncQueryBusTests.cs

示例14: Sut_TestConstructorGuadClauses

		public void Sut_TestConstructorGuadClauses(
			GuardClauseAssertion assertion)
		{
			assertion.VerifyConstructors<AddMvvmVisitorsViewModelFactory>();
		}
开发者ID:Galad,项目名称:Hanno,代码行数:5,代码来源:AddMvvmCommandVisitorsViewModelFactoryTests.cs

示例15: Sut_ConstructorGuardClause

		public void Sut_ConstructorGuardClause(GuardClauseAssertion assertion)
		{
			assertion.VerifyConstructors<FuncNow>();
		}
开发者ID:Galad,项目名称:Hanno,代码行数:4,代码来源:NowTests.cs


注:本文中的Ploeh.AutoFixture.Idioms.GuardClauseAssertion.VerifyConstructors方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。