public void Properties_Sets_And_Gets_Data_Properties_String() { var fx = new DataPropertiesElementFx(Guid.NewGuid()); fx.Properties = "blah"; Assert.NotNull(fx.Properties); Assert.Equal("blah", fx.Properties); }
public void Reset_Sets_IsCancelled_To_False() { var fx = new DataPropertiesElementFx(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 DataPropertiesElementFx(Guid.NewGuid()); //Act fx.Cancel(); //Assert Assert.Null(fx.Properties); Assert.False(fx.IsCancelled); Assert.Equal(FxStatus.UnInitialized, fx.Status); }