public void Properties_Sets_And_Gets_Data_Properties_String() { var _fx = new NetworkPropertiesElementFx(Guid.NewGuid()); _fx.Properties = "blah"; Assert.NotNull(_fx.Properties); Assert.Equal("blah", _fx.Properties); }
public void Reset_Sets_IsCancelled_To_False() { var _fx = new NetworkPropertiesElementFx(Guid.NewGuid()); _fx.Reset(); //Assert Assert.Null(_fx.Properties); Assert.False(_fx.IsCancelled); Assert.Equal(FxStatus.UnInitialized, _fx.Status); }
public void Cancel_Sets_Properties_To_Null_And_Status_To_UnInitialized() { var _fx = new NetworkPropertiesElementFx(Guid.NewGuid()); //Act _fx.Cancel(); //Assert Assert.Null(_fx.Properties); Assert.False(_fx.IsCancelled); Assert.Equal(FxStatus.UnInitialized, _fx.Status); }