diff --git a/qt/scientific_interfaces/test/ISISReflectometry/RunsTable/RunsTablePresenterProcessingTest.h b/qt/scientific_interfaces/test/ISISReflectometry/RunsTable/RunsTablePresenterProcessingTest.h index c009f905896bb9b41b46125cc1ac6784aca3fc61..5e0ff1c874b57033281d792996874e48f16329d3 100644 --- a/qt/scientific_interfaces/test/ISISReflectometry/RunsTable/RunsTablePresenterProcessingTest.h +++ b/qt/scientific_interfaces/test/ISISReflectometry/RunsTable/RunsTablePresenterProcessingTest.h @@ -111,7 +111,7 @@ public: verifyAndClearExpectations(); } - void testNotifyInstrumentChanged() { + void testNotifyChangeInstrumentRequested() { auto presenter = makePresenter(m_view, ReductionJobs()); auto const instrument = std::string("test_instrument"); EXPECT_CALL(m_view, getInstrumentName()) @@ -123,6 +123,14 @@ public: verifyAndClearExpectations(); } + void testNotifyInstrumentChanged() { + auto presenter = makePresenter(m_view, ReductionJobs()); + auto const instrument = std::string("test_instrument"); + EXPECT_CALL(m_view, setInstrumentName(instrument)).Times(1); + presenter.notifyInstrumentChanged(instrument); + verifyAndClearExpectations(); + } + void testRowStateChangedForDefaultRowAndGroup() { auto presenter = makePresenter(m_view, oneGroupWithARowModel()); expectGroupStateCleared();