Looking at how this can be improved. Annoyingly any_instance.stub and should_receive seem to conflict with one another.