Great question. You can do this with a cell consumer (i.e. the with() method). See OrientationTest for an example (e.g. leftToRightButton, rightToLeftButton):
https://github.com/HTTP-RPC/Sierra/blob/master/sierra-test/s...
I should probably add a better example.