public void MustRead_ClassAd_NotDepends_Bd() { IXMIReader reader = GetReaderStarUML_LoadedWith_RelationshipsBasic(); Model model = reader.GetModel(); Class ClassA = model.Classes.Single(c => c.Name == "Ad"); Class ClassB = model.Classes.Single(c => c.Name == "Bd"); Assert.DoesNotContain(ClassA, ClassB.ItDepends); }
public void MustRead_ClassBd_Releases_Ad() { IXMIReader reader = GetReaderStarUML_LoadedWith_RelationshipsBasic(); Model model = reader.GetModel(); Class ClassA = model.Classes.Single(c => c.Name == "Ad"); Class ClassB = model.Classes.Single(c => c.Name == "Bd"); Assert.Contains(ClassA, ClassB.Releases); }
public void MustRead_ClassBa_Depends_Aa() { IXMIReader reader = GetReaderStarUML_LoadedWith_RelationshipsBasic(); Model model = reader.GetModel(); Class ClassB = model.Classes.Single(c => c.Name == "Ba"); Class ClassA = model.Classes.Single(c => c.Name == "Aa"); Assert.Contains(ClassA, ClassB.ItDepends); }