Esempio n. 1
0
        public void EeeOutputAmount_EqualsEeeOutputAmountDifferentRegistered_ReturnsFalse()
        {
            var eeeOutputAmount  = EeeOutputAmountBuilder.WithUnequalRegisteredProducer();
            var eeeOutputAmount2 = EeeOutputAmountBuilder.NewEeeOutputAmount;

            Assert.NotEqual(eeeOutputAmount, eeeOutputAmount2);
        }
Esempio n. 2
0
        public void EeeOutputAmount_EqualsEeeOutputAmountDifferentWeeeCategory_ReturnsFalse()
        {
            var eeeOutputAmount  = EeeOutputAmountBuilder.WithWeeeCategory(WeeeCategory.AutomaticDispensers);
            var eeeOutputAmount2 = EeeOutputAmountBuilder.WithWeeeCategory(WeeeCategory.ConsumerEquipment);

            Assert.NotEqual(eeeOutputAmount, eeeOutputAmount2);
        }
Esempio n. 3
0
        public void EeeOutputAmount_EqualsEeeOutputAmountDifferentTonnage_ReturnsFalse()
        {
            var eeeOutputAmount  = EeeOutputAmountBuilder.WithTonnage(5);
            var eeeOutputAmount2 = EeeOutputAmountBuilder.WithTonnage(10);

            Assert.NotEqual(eeeOutputAmount, eeeOutputAmount2);
        }
Esempio n. 4
0
        public void EeeOutputAmount_EqualsEeeOutputAmountDifferentObligationType_ReturnsFalse()
        {
            var eeeOutputAmount  = EeeOutputAmountBuilder.WithObligationType(ObligationType.B2B);
            var eeeOutputAmount2 = EeeOutputAmountBuilder.WithObligationType(ObligationType.B2C);

            Assert.NotEqual(eeeOutputAmount, eeeOutputAmount2);
        }
Esempio n. 5
0
            public static EeeOutputAmount WithUnequalRegisteredProducer()
            {
                var builder = new EeeOutputAmountBuilder();

                builder.registeredProducerEquality = false;

                return(builder.Build());
            }
Esempio n. 6
0
            public static EeeOutputAmount WithTonnage(decimal tonnage)
            {
                var builder = new EeeOutputAmountBuilder();

                builder.tonnage = tonnage;

                return(builder.Build());
            }
Esempio n. 7
0
            public static EeeOutputAmount WithWeeeCategory(WeeeCategory category)
            {
                var builder = new EeeOutputAmountBuilder();

                builder.weeeCategory = category;

                return(builder.Build());
            }
Esempio n. 8
0
            public static EeeOutputAmount WithObligationType(ObligationType obligationType)
            {
                var builder = new EeeOutputAmountBuilder();

                builder.obligationType = obligationType;

                return(builder.Build());
            }
            public static EeeOutputAmount WithUnequalRegisteredProducer()
            {
                var builder = new EeeOutputAmountBuilder();
                builder.registeredProducerEquality = false;

                return builder.Build();
            }
            public static EeeOutputAmount WithTonnage(decimal tonnage)
            {
                var builder = new EeeOutputAmountBuilder();
                builder.tonnage = tonnage;

                return builder.Build();
            }
            public static EeeOutputAmount WithWeeeCategory(WeeeCategory category)
            {
                var builder = new EeeOutputAmountBuilder();
                builder.weeeCategory = category;

                return builder.Build();
            }
            public static EeeOutputAmount WithObligationType(ObligationType obligationType)
            {
                var builder = new EeeOutputAmountBuilder();
                builder.obligationType = obligationType;

                return builder.Build();
            }