Skip to content

Commit

Permalink
Add more asserts to multipleToStringExecutions Test
Browse files Browse the repository at this point in the history
  • Loading branch information
pgajek2 committed Nov 22, 2023
1 parent 25194a6 commit 4b737bd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions force-app/main/default/classes/SOQL_Test.cls
Original file line number Diff line number Diff line change
Expand Up @@ -1980,7 +1980,12 @@ private class SOQL_Test {

// Verify
Assert.isNull(soqlException);

Assert.areEqual('SELECT Id FROM Account WHERE (Name = :v1 AND Industry = :v2)', builder.toString());

Map<String, Object> binding = builder.binding();
Assert.areEqual('Test', binding.get('v1'));
Assert.areEqual('IT', binding.get('v2'));
}

@IsTest
Expand Down

0 comments on commit 4b737bd

Please sign in to comment.