public void convertSDKToAPI()
        {
            sdkNotificationEvent1 = createTypicalSDKNotificationEvent();
            apiCallbackEvent1     = new EventNotificationConverter(sdkNotificationEvent1).ToAPICallbackEvent();

            Assert.AreEqual(apiCallbackEvent1.ToString(), sdkNotificationEvent1.ToString());
        }
        public void convertAPIToSDK()
        {
            apiCallbackEvent1     = createTypicalAPICallbackEvent();
            sdkNotificationEvent1 = new EventNotificationConverter(apiCallbackEvent1).ToSDKNotificationEvent();

            Assert.AreEqual(sdkNotificationEvent1.ToString(), apiCallbackEvent1.ToString());
        }
 /// <summary>
 /// Construct with API callback event object involved in conversion.
 /// </summary>
 /// <param name="apiCallbackEvent">API callback event.</param>
 public EventNotificationConverter(Silanis.ESL.API.CallbackEvent apiCallbackEvent)
 {
     this.apiCallbackEvent = apiCallbackEvent;
 }
		/// <summary>
		/// Construct with API callback event object involved in conversion.
		/// </summary>
		/// <param name="apiCallbackEvent">API callback event.</param>
		public EventNotificationConverter(Silanis.ESL.API.CallbackEvent apiCallbackEvent)
		{
			this.apiCallbackEvent = apiCallbackEvent;
		}
		public void convertSDKToAPI() {
			sdkNotificationEvent1 = createTypicalSDKNotificationEvent();
			apiCallbackEvent1 = new EventNotificationConverter(sdkNotificationEvent1).ToAPICallbackEvent();

			Assert.AreEqual(apiCallbackEvent1.ToString(), sdkNotificationEvent1.ToString());
		}
		public void convertAPIToSDK() {
			apiCallbackEvent1 = createTypicalAPICallbackEvent();
			sdkNotificationEvent1 = new EventNotificationConverter(apiCallbackEvent1).ToSDKNotificationEvent();

			Assert.AreEqual(sdkNotificationEvent1.ToString(), apiCallbackEvent1.ToString());
		}