Adds domain Music aggregate

This commit is contained in:
BinaryAlley committed 2026-09-07 09:41:57 -07:00
1 parent bde08c7440
commit 3a720af29f
100 files changed
+13077 -558

No files matched your search

@@ -1,24 +0,0 @@
#region ========================================================================= USING =====================================================================================
using Lumina.Domain.Core.BoundedContexts.VideoLibraryBoundedContext.MovieLibraryAggregate.Services;
using System;
using System.Diagnostics.CodeAnalysis;
#endregion
namespace Lumina.Domain.UnitTests.Core.BoundedContexts.VideoLibraryBoundedContext.MovieLibraryAggregate.Services;
/// <summary>
/// Contains unit tests for the <see cref="MovieLibraryService"/> class.
/// </summary>
[ExcludeFromCodeCoverage]
public class MovieLibraryServiceTests
{
[Fact]
public void Movies_WhenAccessed_ShouldThrowNotImplementedException()
{
// Arrange
MovieLibraryService sut = new();
// Act & Assert
Assert.Throws<NotImplementedException>(() => sut.Movies);
}
}
@@ -1,31 +0,0 @@
#region ========================================================================= USING =====================================================================================
using Lumina.Domain.Core.BoundedContexts.VideoLibraryBoundedContext.MovieLibraryAggregate.Services;
using Lumina.Domain.Core.BoundedContexts.VideoLibraryBoundedContext.Services;
using Lumina.Domain.Core.BoundedContexts.VideoLibraryBoundedContext.TvShowLibraryAggregate.Services;
using NSubstitute;
using System.Diagnostics.CodeAnalysis;
#endregion
namespace Lumina.Domain.UnitTests.Core.BoundedContexts.VideoLibraryBoundedContext.Services;
/// <summary>
/// Contains unit tests for the <see cref="VideoLibraryService"/> class.
/// </summary>
[ExcludeFromCodeCoverage]
public class VideoLibraryServiceTests
{
[Fact]
public void Constructor_WhenCalled_ShouldSetInjectedServices()
{
// Arrange
IMovieLibraryService movieLibraryService = Substitute.For<IMovieLibraryService>();
ITvShowLibraryService tvShowLibraryService = Substitute.For<ITvShowLibraryService>();
// Act
VideoLibraryService sut = new(movieLibraryService, tvShowLibraryService);
// Assert
Assert.Same(movieLibraryService, sut.MovieLibraryService);
Assert.Same(tvShowLibraryService, sut.TvShowLibraryService);
}
}
@@ -1,24 +0,0 @@
#region ========================================================================= USING =====================================================================================
using Lumina.Domain.Core.BoundedContexts.VideoLibraryBoundedContext.TvShowLibraryAggregate.Services;
using System;
using System.Diagnostics.CodeAnalysis;
#endregion
namespace Lumina.Domain.UnitTests.Core.BoundedContexts.VideoLibraryBoundedContext.TvShowLibraryAggregate.Services;
/// <summary>
/// Contains unit tests for the <see cref="TvShowLibraryService"/> class.
/// </summary>
[ExcludeFromCodeCoverage]
public class TvShowLibraryServiceTests
{
[Fact]
public void TvShows_WhenAccessed_ShouldThrowNotImplementedException()
{
// Arrange
TvShowLibraryService sut = new();
// Act & Assert
Assert.Throws<NotImplementedException>(() => sut.TvShows);
}
}