Adding thenCall directive

Change-Id: Ib727ec2cc61446c160fd9863cab66f47d4526b0d