Stubbing sequence of classes.