ByteSync
ByteSync copied to clipboard
1.6 Add unit tests for trusted-session creation
Parent epic: #307
Summary
Cover the application flow for starting trusted sessions.
Requirements
- Test creation with one trusted client.
- Test creation with multiple trusted clients.
- Test failure when one client is not trusted.
- Test failure when the requested client list is empty.
- Test failure when cloud session creation fails.
- Test mode mapping for
JoinOnly,Inventory, andSynchronize.
Acceptance criteria
- Tests use FluentAssertions.
- Tests follow Arrange-Act-Assert.
- Main success and failure branches are covered.