public void OLX_Process_GetCorrectRooms() { var processor = new OlxDataProcessor(); var result = processor.Process(_data); Assert.AreEqual(_expectedRooms, result.Rooms); }
public void OLX_Process_GetCorrectTitle() { var processor = new OlxDataProcessor(); var result = processor.Process(_data); Assert.AreEqual(_expectedTitle, result.Title); }
public void OLX_Process_GetCorrectBonusCost() { var processor = new OlxDataProcessor(); var result = processor.Process(_data); Assert.AreEqual(_expectedBonusCost, result.BonusCost); }
public void OLX_Process_GetCorrectId() { var processor = new OlxDataProcessor(); var result = processor.Process(_data); Assert.AreEqual(_expectedId, result.Id); }
public void OLX_Process_GetCorrectLongitude() { var processor = new OlxDataProcessor(); var result = processor.Process(_data); Assert.AreEqual(_expectedLongitude, result.Longitude); }
public void OLX_Process_GetCorrectDateOfScrapping() { var processor = new OlxDataProcessor(); var result = processor.Process(_data); Assert.AreEqual(DateTime.Now.ToString("dd.MM.yyyy"), result.DateOfScraping); }
public void OLX_Process_GetCorrectDateOfPosting() { var processor = new OlxDataProcessor(); var result = processor.Process(_data); Assert.AreEqual(_expectedDateOfPosting, result.DateOfPosting); }
public void OLX_Process_GetCorrectDistrict() { var processor = new OlxDataProcessor(); var result = processor.Process(_data); Assert.AreEqual(_expectedDistrict, result.District); }