Пример #1
0
        public void OnError_ShouldSetError(
            Exception value,
            ISchedulers schedulers)
        {
            var sut = new ObservableProperty <string>(schedulers);

            //act
            sut.OnError(value);

            //assert
            sut.Error.Should().Be(value);
        }
Пример #2
0
		public void OnError_ShouldSetError(
			Exception value,
			ISchedulers schedulers)
		{
			var sut = new ObservableProperty<string>(schedulers);

			//act
			sut.OnError(value);

			//assert
			sut.Error.Should().Be(value);
		}