void AssertLastImportHasCondition(string expectedCondition) { ImportAndCondition import = project.ImportsAdded.Last(); Assert.AreEqual(expectedCondition, import.Condition); }
void AssertLastMSBuildChildElementHasProjectAttributeValue(string expectedImport) { ImportAndCondition import = project.ImportsAdded.Last(); Assert.AreEqual(expectedImport, import.Name); }
void AssertFirstImportHasCondition(string expectedCondition) { ImportAndCondition import = projectSystem.NewImportsHandler.ImportsAdded.First(); Assert.AreEqual(expectedCondition, import.Condition); }
void AssertFirstImportHasImportLocation(ProjectImportLocation expectedLocation) { ImportAndCondition import = projectSystem.NewImportsHandler.ImportsAdded.First(); Assert.AreEqual(expectedLocation, import.Location); }
void AssertFirstMSBuildChildElementHasProjectAttributeValue(string expectedImport) { ImportAndCondition import = projectSystem.NewImportsHandler.ImportsAdded.First(); Assert.AreEqual(expectedImport, import.Name); }