TEST_F(FocusedSessionClrTests, shouldEchoDialStringOnTheView) { SessionPtr session = New.Session().thatIsInitialized(); phoneModel.focusedSession.set(session.data()); QString newDialString("1"); MockFocusedSessionView view; FocusedSessionClr(phoneModel, view); EXPECT_CALL(view, updateDialString(newDialString)); session->dialString().text.setString(newDialString); }