示例#1
0
        public ReturnMapTests()
        {
            mapper             = A.Fake <IMapper>();
            organisationMapper = A.Fake <IMap <Organisation, OrganisationData> >();
            statusMapper       = A.Fake <IMap <AatfStatus, Core.AatfReturn.AatfStatus> >();

            map = new ReturnMap(mapper, organisationMapper, statusMapper);

            aatf         = A.Fake <DomainAatf>();
            scheme       = A.Fake <DomainScheme>();
            organisation = Organisation.CreatePartnership("trading name");
        }
示例#2
0
        public WeeeSentOn ReturnWeeeSentOn(AatfAddress siteAddress, DomainAatf aatf, Return @return)
        {
            var weeeReused = new WeeeSentOn(siteAddress, aatf, @return);

            return(weeeReused);
        }
示例#3
0
        public WeeeReused ReturnWeeeReused(DomainAatf aatf, Return @return)
        {
            var weeeReused = new WeeeReused(aatf, @return);

            return(weeeReused);
        }
示例#4
0
        public WeeeReceived ReturnWeeeReceived(DomainScheme scheme, DomainAatf aatf, Return @return)
        {
            var weeeReceived = new WeeeReceived(scheme, aatf, @return);

            return(weeeReceived);
        }