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); }