public void Should_SetActive() { DeviceTokenNotification deviceTokenNotification = new DeviceTokenNotification(deviceId, activityId, deviceNotificationStatus); deviceTokenNotification.SetActive(); Assert.True(deviceTokenNotification.IsActive); }
public void Should_Update() { DeviceTokenNotification deviceTokenNotification = new DeviceTokenNotification(deviceId, activityId, deviceNotificationStatus); deviceTokenNotification.Update(deviceNotificationStatus); Assert.True(deviceTokenNotification.Status); }
public void Should_Update_Second() { DeviceTokenNotification deviceTokenNotification = new DeviceTokenNotification(deviceId, activityId, deviceNotificationStatus); deviceTokenNotification.Update(deviceId, activityId); Assert.Equal(deviceId, deviceTokenNotification.DeviceId); Assert.Equal(activityId, deviceTokenNotification.ActivityId); }
public void Should_Construct_DeviceTokenNotification() { DeviceTokenNotification deviceTokenNotification = new DeviceTokenNotification(activityId, deviceNotificationStatus); _ = new DeviceTokenNotification(); _ = deviceTokenNotification.DeviceTokenNotificationId; _ = deviceTokenNotification.DeviceToken; _ = deviceTokenNotification.Activity; deviceTokenNotification.ShouldNotBeNull(); }
public void Should_Construct_DeviceTokenNotification_Second() { DeviceTokenNotification deviceTokenNotification = new DeviceTokenNotification(deviceId, activityId, deviceNotificationStatus); deviceTokenNotification.ShouldNotBeNull(); }