Added support to define chained expectations declaratively