Exemple #1
0
        public void AatfDeliveryLocation_EqualsAatfDeliveryLocationDifferentFacilityName_ReturnsFalse()
        {
            var aatfDeliveryLocation  = AatfDeliveryLocationBuilder.WithFacilityName("AAA");
            var aatfDeliveryLocation2 = AatfDeliveryLocationBuilder.WithFacilityName("BBB");

            Assert.NotEqual(aatfDeliveryLocation, aatfDeliveryLocation2);
        }
Exemple #2
0
        public void AatfDeliveryLocation_EqualsAatfDeliveryLocationDifferentApprovalNumber_ReturnsFalse()
        {
            var aatfDeliveryLocation  = AatfDeliveryLocationBuilder.WithApprovalNumber("AAA");
            var aatfDeliveryLocation2 = AatfDeliveryLocationBuilder.WithApprovalNumber("BBB");

            Assert.NotEqual(aatfDeliveryLocation, aatfDeliveryLocation2);
        }
Exemple #3
0
            public static AatfDeliveryLocation WithApprovalNumber(string approvalNumber)
            {
                var builder = new AatfDeliveryLocationBuilder();

                builder.approvalNumber = approvalNumber;

                return(builder.Build());
            }
Exemple #4
0
            public static AatfDeliveryLocation WithFacilityName(string facilityName)
            {
                var builder = new AatfDeliveryLocationBuilder();

                builder.facilityName = facilityName;

                return(builder.Build());
            }
            public static AatfDeliveryLocation WithApprovalNumber(string approvalNumber)
            {
                var builder = new AatfDeliveryLocationBuilder();
                builder.approvalNumber = approvalNumber;

                return builder.Build();
            }
            public static AatfDeliveryLocation WithFacilityName(string facilityName)
            {
                var builder = new AatfDeliveryLocationBuilder();
                builder.facilityName = facilityName;

                return builder.Build();
            }