Skip to content

Commit

Permalink
chore: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mvarendorff2 committed Oct 4, 2024
1 parent 8670710 commit 1c96892
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ public class UnitOfWorkParameterExpressionBuilderTest
private readonly UnitOfWorkParameterExpressionBuilder _builder = new();

[Fact]
public void CanHandle_ShouldReturnTrueForUnitOfWorkParameter()
public void CanHandle_ShouldReturnFalseForUnitOfWorkParameter()
{
var parameter = typeof(TestClass).GetMethod(nameof(TestClass.MethodWithUnitOfWork))!.GetParameters()[0];
Assert.True(_builder.CanHandle(parameter));
Assert.False(_builder.CanHandle(parameter));
}

[Fact]
Expand All @@ -39,9 +39,9 @@ public void Kind_ShouldReturnCustom()
}

[Fact]
public void IsPure_ShouldReturnTrue()
public void IsPure_ShouldReturnFalse()
{
Assert.True(_builder.IsPure);
Assert.False(_builder.IsPure);
}

[Fact]
Expand Down

0 comments on commit 1c96892

Please sign in to comment.