def METHOD_NAME(self):
    """
    Ensure that the FlowTest will raise a FlowTestUnexpectedViewException if the next
    View in the sequence is not the expected View.
    """
    with pytest.raises(FlowTestUnexpectedViewException):
        self.run_sequence([
            FlowStep(MainMenuView, button_data_selection=RET_CODE__POWER_BUTTON),
            FlowStep(ToolsMenuView),  # <-- Wrong target View! Should raise an AssertionError.
        ])