public void UpdateLocalStorageRegistrationByName_RegistrationNameNull()
 {
     LocalStorageManager localStorageManager = new LocalStorageManager(TestLocalStore);
     localStorageManager.UpdateRegistrationByName(null, DefaultRegistrationId, DefaultChannelUri);
     StoredRegistrationEntry storedRegistrationEntry = localStorageManager.GetRegistration(Registration.NativeRegistrationName);
     Assert.AreEqual(storedRegistrationEntry.RegistrationName,Registration.NativeRegistrationName);
     Assert.AreEqual(storedRegistrationEntry.RegistrationId, DefaultRegistrationId);
     Assert.AreEqual(localStorageManager.PushHandle, DefaultChannelUri);
     localStorageManager.DeleteRegistrationByName(Registration.NativeRegistrationName);
 }
        public void UpdateLocalStorageRegistrationByName_RegistrationNameNull()
        {
            LocalStorageManager localStorageManager = new LocalStorageManager(TestLocalStore);

            localStorageManager.UpdateRegistrationByName(null, DefaultRegistrationId, DefaultChannelUri);
            StoredRegistrationEntry storedRegistrationEntry = localStorageManager.GetRegistration(Registration.NativeRegistrationName);

            Assert.AreEqual(storedRegistrationEntry.RegistrationName, Registration.NativeRegistrationName);
            Assert.AreEqual(storedRegistrationEntry.RegistrationId, DefaultRegistrationId);
            Assert.AreEqual(localStorageManager.PushHandle, DefaultChannelUri);
            localStorageManager.DeleteRegistrationByName(Registration.NativeRegistrationName);
        }