public HopArrivalLogicTests()
 {
     mockHopRepo    = new MockHopArrivalRepository();
     mockTrackRepo  = new MockTrackingInformationRepository();
     mockParcelRepo = new MockParcelRepository(mockTrackRepo);
     mockTruckRepo  = new MockTruckRepository();
 }
        public ParcelEntryLogicTests()
        {
            mockHopRepo       = new MockHopArrivalRepository();
            mockTrackRepo     = new MockTrackingInformationRepository();
            mockTruckRepo     = new MockTruckRepository();
            mockWarehouseRepo = new MockWarehouseRepository();
            mockParcelRepo    = new MockParcelRepository(mockTrackRepo);

            CreateTestData();

            var mockParcelEntryLogicLogger = new Mock <ILogger <ParcelEntryLogic> >();

            parcelEntryLogicLogger = mockParcelEntryLogicLogger.Object;

            var mockGoogleEncodingAgentLogger = new Mock <ILogger <GoogleEncodingAgent> >();

            googleEncodingAgentLogger = mockGoogleEncodingAgentLogger.Object;
        }
        public TrackingLogicTests()
        {
            mockHopRepo    = new MockHopArrivalRepository();
            mockTrackRepo  = new MockTrackingInformationRepository();
            mockParcelRepo = new MockParcelRepository(mockTrackRepo);

            SetupBLTrackingInfo();
            SetupDALTrackingInfo();
            SetupSwagTrackingInfo();

            validBLRec    = new Entities.Recipient("Tobias", "Test", "Teststraße 9", "A-1140", "Wien");
            validBLParcel = new Entities.Parcel(1.5f, validBLRec);
            validBLParcel.TrackingInformation = validBLInfo;

            validDALRec    = new DataAccess.Entities.Recipient("Tobias", "Test", "Teststraße 9", "A-1140", "Wien");
            validDALParcel = new DataAccess.Entities.Parcel(1.5f, validDALRec, 1);
            validDALParcel.TrackingInformation   = validDALInfo;
            validDALParcel.TrackingInformationId = 1;
        }