Ejemplo n.º 1
0
        public static LockerTrack TrackByKeane()
        {
            var lockerTrack = new LockerTrack
            {
                Track        = TestTrack.EverybodysChanging,
                DownloadUrls = new List <DownloadUrl>
                {
                    new DownloadUrl
                    {
                        Url    = "meh",
                        Format = TestFormat.Mp3
                    }
                },
                PurchaseDate       = DateTime.Now.AddDays(-1),
                RemainingDownloads = 10
            };

            return(lockerTrack);
        }
Ejemplo n.º 2
0
        public static LockerTrack TrackByFleetFoxes()
        {
            var lockerTrack = new LockerTrack
            {
                Track        = TestTrack.SunItRises,
                DownloadUrls = new List <DownloadUrl>
                {
                    new DownloadUrl
                    {
                        Url    = "meh",
                        Format = TestFormat.Mp3
                    }
                },
                PurchaseDate       = DateTime.Now.AddDays(-1),
                RemainingDownloads = 10
            };

            return(lockerTrack);
        }
Ejemplo n.º 3
0
        public static LockerTrack Get(int trackId, string trackTitle)
        {
            var lockerTrack = new LockerTrack
            {
                Track        = TestTrack.SunItRises,
                DownloadUrls = new List <DownloadUrl>
                {
                    new DownloadUrl
                    {
                        Url    = "meh",
                        Format = TestFormat.Mp3
                    }
                },
                PurchaseDate       = DateTime.Now.AddDays(-1),
                RemainingDownloads = 10
            };

            lockerTrack.Track.Id    = trackId;
            lockerTrack.Track.Title = trackTitle;
            return(lockerTrack);
        }