public void ListRegistrationsAsync() { var registrationManager = new RegistrationManagerForTest(); var push = new Push(registrationManager); push.ListRegistrationsAsync(this.originalNSData).Wait(); registrationManager.VerifyPushHandle(this.originalNSDataTrimmed); }
public void RegisterTemplateAsync() { var registrationManager = new RegistrationManagerForTest(); var push = new Push(registrationManager); push.RegisterTemplateAsync(this.originalNSData, "jsonBody", "expiry", "templateName").Wait(); registrationManager.VerifyPushHandle(this.originalNSDataTrimmed); }
public void RegisterNativeAsyncWithTags() { var registrationManager = new RegistrationManagerForTest(); var push = new Push(registrationManager); push.RegisterNativeAsync(this.originalNSData, new List<string> {"foo"}).Wait(); registrationManager.VerifyPushHandle(this.originalNSDataTrimmed); }
public void RegisterNativeAsyncWithTags() { var registrationManager = new RegistrationManagerForTest(); var push = new Push(registrationManager); push.RegisterNativeAsync(this.originalNSData, new List <string> { "foo" }).Wait(); registrationManager.VerifyPushHandle(this.originalNSDataTrimmed); }