public void Sut_GuardClauses(
		  GuardClauseAssertion	assertion)
		{
			//arrange

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

			//assert
		}
示例#2
0
		public void Sut_VerifyGuardClauses(Fixture fixture)
		{
			var assertion = new GuardClauseAssertion(
				fixture,
				new SkipSpecifiedParametersBehaviorExpectation(
				new CompositeBehaviorExpectation(
					new EmptyGuidBehaviorExpectation(),
					new NullReferenceBehaviorExpectation()),
				"value")
				);
			assertion.VerifyConstructors<CacheEntry<string>>();
		}
		public void Sut_VerifyGuardClauses(GuardClauseAssertion assertion)
		{
			assertion.VerifyConstructors<DeserializerHttpRequestResultReader>();
		}
		public void Sut_VerifyGuardClauses(GuardClauseAssertion assertion)
		{
			assertion.VerifyConstructors<MemoryCacheEntryRepository>();
		}
		public void Sut_VerifyConstructors(GuardClauseAssertion assertion)
		{
			assertion.VerifyConstructors<DefaultHttpRequestResolver>();
		}
		public void Sut_ConstructorGuardClauses(
		  GuardClauseAssertion assertion)
		{
			assertion.VerifyConstructors<ObservablePropertyBeforeSetterInterceptor<object>>();
		}
		public void Sut_VerifyConstructor(GuardClauseAssertion assertion)
		{
			assertion.VerifyConstructors<EnumerableAsyncCommand<IAsyncCommand>>();
		}
		public void Constructor_GuardClauses(
			GuardClauseAssertion assertions)
		{
			assertions.VerifyConstructors<CompositeCommandHandler<TestCommand>>();
		}
		public void Sut_VerifyConstructorGuardClauses(GuardClauseAssertion assertion)
		{
			assertion.VerifyConstructors<CompositeParallelInitializable>();
		}
		public void Sut_VerifyConstructor(GuardClauseAssertion assertion)
		{
			assertion.VerifyConstructors<EnumerableArrayResultAsyncQuery<IAsyncQuery<object>, string>>();
        }
示例#11
0
		public void Sut_ConstructorGuardClause(GuardClauseAssertion assertion)
		{
			assertion.VerifyConstructors<AsyncCommandQueryBus>();
		}
示例#12
0
		public void Sut_TestGuardClauses(
			GuardClauseAssertion assertion)
		{
			assertion.VerifyConstructors<CacheService>();
		}
示例#13
0
		public void Sut_TestGuardClauses(
		  GuardClauseAssertion assertion)
		{
			assertion.VerifyConstructors<CacheAsyncQueryBus>();
		}
		public void Sut_TestConstructorGuadClauses(
			GuardClauseAssertion assertion)
		{
			assertion.VerifyConstructors<AddMvvmVisitorsViewModelFactory>();
		}
示例#15
0
文件: NowTests.cs 项目: Galad/Hanno
		public void Sut_ConstructorGuardClause(GuardClauseAssertion assertion)
		{
			assertion.VerifyConstructors<FuncNow>();
		}
		public void Sut_VerifyConstructorGuardClauses(GuardClauseAssertion assertion)
		{
			assertion.VerifyConstructors<ConcurrencyExecutionAsyncCommandBus>();
		}
		public void Sut_VerifyConstructorGuardClauses(GuardClauseAssertion assertion)
		{
			assertion.VerifyConstructors<NotifyEventsAsyncCommandBus>();
		}
示例#18
0
		public void Sut_VerifyConstructorGuardClauses(GuardClauseAssertion assertion)
		{
			assertion.VerifyConstructors<NotifyCommandStateBus>();
		}
		public void Sut_VerifyGuardClauses(
		  GuardClauseAssertion assertion)
		{
			assertion.VerifyConstructors<MultipleExecutionCanExecuteStrategy<object>>();
		}