public ISpecimenBuilderNode Transform(ISpecimenBuilder builder) { var command = new PostprocessingCommand <T>(builderCustomizer); var spec = IsInstanceOf.Type <T>(); return(new Postprocessor(builder, command, spec)); }
public virtual void TestCreateInstance() { ResourceCalculatorProcessTree tree; tree = ResourceCalculatorProcessTree.GetResourceCalculatorProcessTree("1", typeof( TestResourceCalculatorProcessTree.EmptyProcessTree), new Configuration()); NUnit.Framework.Assert.IsNotNull(tree); Assert.AssertThat(tree, IsInstanceOf.InstanceOf(typeof(TestResourceCalculatorProcessTree.EmptyProcessTree ))); }
public ISpecimenBuilderNode Transform(ISpecimenBuilder builder) { return(new Postprocessor(builder, new ElsaHostBuilderBuilderCommand(_builderCustomizer), IsInstanceOf.Type <ElsaHostBuilderBuilder>())); }