public void should_not_be_null() { var blueprint = new EnumBlueprint(); var result = (Gender)blueprint.Construct(new ConstruktionContext(typeof(Gender)), Default.Pipeline); result.ShouldBeOneOf(Gender.F, Gender.M); }
public void should_construct() { var blueprint = new EnumBlueprint(); var result = (Gender)blueprint.Construct(new ConstruktionContext(typeof(Gender)), new DefaultConstruktionPipeline()); result.ShouldBeOneOf(Gender.F, Gender.M); }