public void VerifyThatThingStatusIsNotNull()
        {
            var parameter         = new Parameter(Guid.NewGuid(), this.cache, this.uri);
            var textParameterType = new TextParameterType(Guid.NewGuid(), this.cache, this.uri);

            parameter.ParameterType     = textParameterType;
            parameter.IsOptionDependent = true;

            var row = new ParameterOptionRowViewModel(parameter, this.option, this.session.Object, null, false);

            Assert.IsNotNull(row.ThingStatus);
        }
        public void VerifyThatMessageBusMessageWork(IViewModelBase <Thing> container, string scenario)
        {
            var parameter         = new Parameter(Guid.NewGuid(), this.cache, this.uri);
            var textParameterType = new TextParameterType(Guid.NewGuid(), this.cache, this.uri);

            parameter.ParameterType     = textParameterType;
            parameter.IsOptionDependent = true;

            this.option.Name = "OriginalName";
            var row = new ParameterOptionRowViewModel(parameter, this.option, this.session.Object, container, false);

            Assert.That(row.Name, Is.EqualTo(this.option.Name));

            this.option.Name = "ChangedName";
            CDPMessageBus.Current.SendObjectChangeEvent(this.option, EventKind.Updated);
            Assert.That(row.Name, Is.EqualTo(this.option.Name));
        }