Unit Testing Parent Workflow with Mocked Child Workflow

SO, Basically I am calling Workflow A frmo my Unit testcase, how can I modify the path of child workflow which is inside the Workflow A at runtime