Reformat all code as per my preferred formatting.
This commit is contained in:
+10
-5
@@ -25,10 +25,15 @@ public class ApplyFeeHandlerTests
|
||||
|
||||
// Assert
|
||||
using var _ = new AssertionScope();
|
||||
intents.CustomerWrite.Entity.Balance.Should().Be(account.Balance - command.Amount);
|
||||
intents.RevenueWrite.Entity.Balance.Should().Be(revenueAccount.Balance + command.Amount);
|
||||
intents.JournalWrite.Entity.Lines.Count.Should().BeGreaterThanOrEqualTo(2);
|
||||
intents.Event.AccountId.Should().Be(account.Id);
|
||||
intents.Event.Amount.Should().Be(command.Amount);
|
||||
intents.CustomerWrite.Entity.Balance.Should()
|
||||
.Be(account.Balance - command.Amount);
|
||||
intents.RevenueWrite.Entity.Balance.Should()
|
||||
.Be(revenueAccount.Balance + command.Amount);
|
||||
intents.JournalWrite.Entity.Lines.Count.Should()
|
||||
.BeGreaterThanOrEqualTo(2);
|
||||
intents.Event.AccountId.Should()
|
||||
.Be(account.Id);
|
||||
intents.Event.Amount.Should()
|
||||
.Be(command.Amount);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user