SyntaxFix
Write A Post
Hire A Developer
Questions
A simpler way would be to do:
ObjectA.Verify( a => a.Execute( It.Is<Params>(p => p.Id == 7) ) );