c41e5063b7
Removed entire kbx-foundation-v36 directory as it's been replaced by the new KBX Foundation v4 patterns implemented in this session: - Registry-driven screen definitions - Density-aware UI adapter components - Feature module templates (ShadowRun, Models) Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
20 lines
586 B
C#
20 lines
586 B
C#
using Shared.Operations;
|
|
using Xunit;
|
|
|
|
namespace Shared.Operations.Tests;
|
|
|
|
public sealed class WorkItemActionPolicyTests
|
|
{
|
|
[Fact]
|
|
public void Domain_exception_is_not_manually_resolvable_by_default() =>
|
|
Assert.False(WorkItemActionPolicy.CanManualResolve("open", false));
|
|
|
|
[Fact]
|
|
public void Explicit_operational_item_can_be_manually_resolved() =>
|
|
Assert.True(WorkItemActionPolicy.CanManualResolve("claimed", true));
|
|
|
|
[Fact]
|
|
public void Retry_requires_registered_action_key() =>
|
|
Assert.False(WorkItemActionPolicy.CanRetry("open", null));
|
|
}
|