public void RetrievalRearRightDataviaXML_ReturnsTrueORFalse() { //Arrange var xml = new TyresTemplateConfig(); //Act var rearrightdata = xml.RearRightData(); bool retrieval = false; if (rearrightdata.GetType() == typeof(Dictionary <string, int>)) { retrieval = true; Assert.IsTrue(retrieval, "This FrontLeftData method works as intended"); } else { Assert.IsTrue(retrieval, "This FrontLeftData method does not works as intended"); } }
public void RetrievalXML_ReturnsTrueORFalse() { //Arrange var xml = new TyresTemplateConfig(); //Act var xmlRetrieval = xml.retrieveXML(); bool retrieval = false; if (xmlRetrieval.GetType() == typeof(TyresCollection)) { retrieval = true; Assert.IsTrue(retrieval, "This retrieveXML method works as intended"); } else { Assert.IsTrue(retrieval, "This retrieveXML method does not works as intended"); } }