private static COrdinal Map(this C_DV_ORDINAL model) { var ordinal = new COrdinal { ReferenceModelTypeName = model.rm_type_name, NodeId = model.node_id, Occurences = model.occurrences.Map() }; foreach (DV_ORDINAL dvOrdinal in model.list) { ordinal.Ordinals.Add(dvOrdinal.Map()); } return(ordinal); }
public void ListsAreNotNull() { var instance = new COrdinal(); Assert.IsNotNull(instance.Ordinals); }
public void IsValidValueThrowsException() { var instance = new COrdinal(); var result = instance.IsValidValue(null); }
public void IsSubsetOfThrowsException() { var instance = new COrdinal(); var result = instance.IsSubsetOf(null); }
public void DefaultValueThrowsException() { var instance = new COrdinal(); var result = instance.DefaultValue(); }