phoneapp/phoneuistates/tsrc/ut_cphoneconferenceandsingleandwaiting/Src/ut_cphoneconferenceandsingleandwaiting.cpp
changeset 76 cfea66083b62
parent 74 d1c62c765e48
--- a/phoneapp/phoneuistates/tsrc/ut_cphoneconferenceandsingleandwaiting/Src/ut_cphoneconferenceandsingleandwaiting.cpp	Fri Sep 17 17:09:12 2010 +0300
+++ b/phoneapp/phoneuistates/tsrc/ut_cphoneconferenceandsingleandwaiting/Src/ut_cphoneconferenceandsingleandwaiting.cpp	Mon Oct 04 16:06:10 2010 +0300
@@ -96,11 +96,12 @@
 //  
 void ut_cphoneconferenceandsingleandwaiting::T_HandleConnectedL(  )
     {
-    
+    iMockContext->Reset();
+    iMockContext->ExpectCallL( "CPhoneState::UpdateCallHeaderAndUiCommandsL" ).
+             WithL<TInt> ( 2 );
     iStateConferenceAndSingleAndWaiting->HandlePhoneEngineMessageL( MEngineMonitor::EPEMessageConnected, 2 );
 
-    iViewCommandHandle->VerifyViewCommand( EPhoneViewUpdateBubble );
-    
+    EUNIT_ASSERT_EQUALS( KErrNone, iMockContext->VerifyExpectations() );
     }
 
 // -----------------------------------------------------------------------------