public void AUT_SpecimenBuilderNodeFactory_CreateTypedNode_Static_Method_DirectCall_Result_ShouldNotBe_Null_Test() { // Arrange this.ValidateExecuteCondition(MethodCreateTypedNode); var targetType = this.CreateType <Type>(); var factory = this.CreateType <ISpecimenBuilder>(); var returnedValue = default(FilteringSpecimenBuilder); // Act Action executeAction = () => returnedValue = SpecimenBuilderNodeFactory.CreateTypedNode(targetType, factory); ActionAnalyzer.DoesActionThrowException(executeAction); // Assert returnedValue.ShouldNotBeNull(); }