public void Run()
        {
            IConvertFromString defaultConverter   = new StringFromString(null);
            IConvertFromString optionSetValue     = new OptionSetValueFromString(defaultConverter);
            IConvertFromString moneyFromString    = new MoneyFromString(optionSetValue);
            IConvertFromString int32FromString    = new Int32FromString(moneyFromString);
            IConvertFromString guidFromString     = new GuidFromString(int32FromString);
            IConvertFromString doubleFromString   = new DoubleFromString(guidFromString);
            IConvertFromString decimalFromString  = new DecimalFromString(doubleFromString);
            IConvertFromString dateTimeFromString = new DateTimeFromString(decimalFromString);
            IConvertFromString boolFromString     = new BoolFromString(dateTimeFromString);
            ITest test = new Test(boolFromString);

            test.Run();
        }
Exemple #2
0
 public void Constructor_ReturnsInterfaceName(OptionSetValueFromString sut)
 {
     sut.Should().BeAssignableTo <ConvertFromString>();
 }