@@ -117,24 +117,27 @@ public override IEnumerator RunTest()
117117 private void OnDeleteSession ( object response , Dictionary < string , object > customData )
118118 {
119119 Log . Debug ( "TestAssistantV2.OnDeleteSession()" , "Session deleted." ) ;
120+ Test ( response != null ) ;
120121 _createSessionTested = true ;
121122 }
122123
123124 private void OnMessage ( MessageResponse response , Dictionary < string , object > customData )
124125 {
126+ Test ( response != null ) ;
125127 _messageTested = true ;
126128 }
127129
128- private void OnFail ( RESTConnector . Error error , Dictionary < string , object > customData )
129- {
130- Log . Debug ( "TestAssistantV2.OnFail()" , "Call failed: {0}: {1}" , error . ErrorCode , error . ErrorMessage ) ;
131- }
132-
133130 private void OnCreateSession ( SessionResponse response , Dictionary < string , object > customData )
134131 {
135132 Log . Debug ( "TestAssistantV2.OnCreateSession()" , "Session: {0}" , response . SessionId ) ;
136133 _sessionId = response . SessionId ;
134+ Test ( response != null ) ;
137135 _createSessionTested = true ;
138136 }
137+
138+ private void OnFail ( RESTConnector . Error error , Dictionary < string , object > customData )
139+ {
140+ Log . Debug ( "TestAssistantV2.OnFail()" , "Call failed: {0}: {1}" , error . ErrorCode , error . ErrorMessage ) ;
141+ }
139142 }
140143}
0 commit comments