using StrixMusic.Cores.OwlCoreRpc.Tests.Mock.Items; using System; using StrixMusic.Sdk.CoreModels; namespace StrixMusic.Cores.OwlCoreRpc.Tests.Mock { internal static class MockCoreItemFactory { public static ICoreTrack CreateTrack(ICore sourceCore) => new MockCoreTrack(sourceCore, "factoryTrack", "Test track"); public static ICoreArtist CreateArtist(ICore sourceCore) => new MockCoreArtist(sourceCore, "factoryArtist", "Test Artist"); public static ICoreAlbum CreateAlbum(ICore sourceCore) => new MockCoreAlbum(sourceCore, "factoryAlbum", "Test Album"); public static ICorePlaylist CreatePlaylist(ICore sourceCore) => new MockCorePlaylist(sourceCore, "factoryPlaylist", "Test Playlist"); public static ICorePlayableCollectionGroup CreatePlayableCollectionGroup(ICore sourceCore) => new MockCorePlayableCollectionGroup(sourceCore, "factoryPcg", "Test collection group"); public static ICoreImage CreateImage(ICore sourceCore) => new MockCoreImage(sourceCore, new Uri("https://strixmusic.com/favicon.ico")); public static ICoreUrl CreateUrl(ICore sourceCore) => new MockCoreUrl(sourceCore, new Uri("https://strixmusic.com/favicon.ico"), "test url"); } }