Add tests for MassTransit activities, routing slips, sagas, fault handling and playlist visibility

Infrastructure exposes its internals to the test project so the activities and slip builders can be
exercised directly, and the fault consumer and state machines run on the MassTransit test harness.
This commit is contained in:
2026-09-24 12:53:33 +02:00
parent bc6ca3651f
commit 2d0867e68a
9 changed files with 1272 additions and 0 deletions
@@ -42,6 +42,12 @@
<ProjectReference Include="..\Musify.Domain\Domain.csproj" />
</ItemGroup>
<ItemGroup>
<InternalsVisibleTo Include="Musify.Infrastructure.Tests" />
<!-- Lets NSubstitute (Castle DynamicProxy) mock generics over internal argument types. -->
<InternalsVisibleTo Include="DynamicProxyGenAssembly2" />
</ItemGroup>
<ItemGroup>
<Folder Include="Persistence\Migrations\" />
</ItemGroup>