Question1Replies17Views×Close popoverChunzhi Hong (Chunzhi_Hong) PEGA Consulting Manager, Pega Consulting Pegasystems Inc. JP View Profile Chunzhi_Hong Member since 2013 138 posts PEGA Posted: November 10, 2020Last activity: November 10, 2020Posted: 10 Nov 2020 5:35 ESTLast activity: 10 Nov 2020 6:47 EST How to mock a WHEN rule in a pegaUnit test caseI have a when rule A calls another when rule B.I wanted to create PegaUnit test case for when rule A.How can I mockup when rule B, so that my test cases for when rule A won't be affected by the actual execution result of when rule B? ***Edited by Moderator: Pooja to update platform capability tag*** Pega Platform 8.5.1 DevOps Low-Code App Development ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Posted: 2 months agoPosted: 10 Nov 2020 5:55 EST×Close popoverGoutam Saha (sahag) PEGA Principal Cloud Development Engineer Pegasystems Inc. IN View Profilesahag PEGA replied to Chunzhi_HongCurrently pegaunit support mocking for Datapages and Connector rules. When rule mocking is not supported yet.