public void TransformToOptionObject2_OptionObject_OptionUserIdMatch() { OptionObject optionObject = new OptionObject(); OptionObject2 transformedOptionObject = optionObject.ToOptionObject2(); Assert.AreEqual(optionObject.OptionUserId, transformedOptionObject.OptionUserId); }
public void TransformToOptionObject2_OptionObject_SystemCodeMatch() { OptionObject optionObject = new OptionObject(); OptionObject2 transformedOptionObject = optionObject.ToOptionObject2(); Assert.AreEqual(optionObject.SystemCode, transformedOptionObject.SystemCode); }
public void TransformToOptionObject2_OptionObject_ErrorMesgMatch() { OptionObject optionObject = new OptionObject(); OptionObject2 transformedOptionObject = optionObject.ToOptionObject2(); Assert.AreEqual(optionObject.ErrorMesg, transformedOptionObject.ErrorMesg); }
public void TransformToOptionObject2_OptionObject_FacilityMatch() { OptionObject optionObject = new OptionObject(); OptionObject2 transformedOptionObject = optionObject.ToOptionObject2(); Assert.AreEqual(optionObject.Facility, transformedOptionObject.Facility); }
public void TransformToOptionObject2_OptionObject_EntityIdMatch() { OptionObject optionObject = new OptionObject(); OptionObject2 transformedOptionObject = optionObject.ToOptionObject2(); Assert.AreEqual(optionObject.EntityID, transformedOptionObject.EntityID); }
public void TransformToOptionObject2_OptionObject_EpisodeNumberMatch() { OptionObject optionObject = new OptionObject(); OptionObject2 transformedOptionObject = optionObject.ToOptionObject2(); Assert.AreEqual(optionObject.EpisodeNumber, transformedOptionObject.EpisodeNumber); }
public void TransformToOptionObject2_OptionObject_FormCountMatch() { OptionObject optionObject = new OptionObject(); OptionObject2 transformedOptionObject = optionObject.ToOptionObject2(); Assert.AreEqual(optionObject.Forms.Count, transformedOptionObject.Forms.Count); }
public void ModifiedOptionObjectInvalidValueErrorCodeTransform() { OptionObject modifiedOptionObject = new OptionObject { ErrorCode = 7 }; OptionObject2 transformedOptionObject = modifiedOptionObject.ToOptionObject2(); Assert.AreEqual(modifiedOptionObject.ErrorCode, transformedOptionObject.ErrorCode); }
public void ModifiedOptionObjectFormCountEqualsTransformFormCount() { OptionObject modifiedOptionObject = new OptionObject(); FormObject addForm = new FormObject(); modifiedOptionObject.Forms.Add(addForm); OptionObject2 transformedOptionObject = modifiedOptionObject.ToOptionObject2(); Assert.AreEqual(modifiedOptionObject.Forms.Count, transformedOptionObject.Forms.Count); }
public void TransformToOptionObject2_OptionObject_ModifiedFormCountMatch() { FormObject addForm = new FormObject(); OptionObject optionObject = new OptionObject(); optionObject.Forms.Add(addForm); OptionObject2 transformedOptionObject = optionObject.ToOptionObject2(); Assert.AreEqual(optionObject.Forms.Count, transformedOptionObject.Forms.Count); }
public void NewOptionObjectEpisodeNumberEqualsTransformEpisodeNumber() { OptionObject2 transformedOptionObject = newOptionObject.ToOptionObject2(); Assert.AreEqual(newOptionObject.EpisodeNumber, transformedOptionObject.EpisodeNumber); }