public void Styles_ShouldReturnOptionSetup()
        {
            var commandParser = A.Fake <CommandParser <DataTypesCommandOptions> >();

            var targetProperty = typeof(DataTypesCommandOptions).GetProperty("Int64s");
            var optionParser   = A.Fake <Int64ListOptionParser>(ob => ob.WithArgumentsForConstructor(() => new Int64ListOptionParser(targetProperty, "int64s")));

            var setup = new Int64ListOptionSetup <DataTypesCommandOptions>(commandParser, optionParser);

            setup.Styles(NumberStyles.Currency).Should().Be(setup);
        }
        public void Styles_ShouldAssignStylesToOptionParser()
        {
            var commandParser = A.Fake <CommandParser <DataTypesCommandOptions> >();

            var targetProperty = typeof(DataTypesCommandOptions).GetProperty("Int64s");
            var optionParser   = A.Fake <Int64ListOptionParser>(ob => ob.WithArgumentsForConstructor(() => new Int64ListOptionParser(targetProperty, "int64s")));

            var setup = new Int64ListOptionSetup <DataTypesCommandOptions>(commandParser, optionParser);

            setup.Styles(NumberStyles.Currency);

            A.CallToSet(() => optionParser.NumberStyles).To(NumberStyles.Currency).MustHaveHappened();
        }