public void AliveIsMapped() { var stream = FileHelper.OpenFile(TestData.FeedXmlPath, "alive.xml"); var message = _deserializer.Deserialize <alive>(stream); TestData.FillMessageTimestamp(message); _validator.Validate(message); var entity = _mapper.MapAlive(message); Assert.IsNotNull(entity, "entity should not be a null reference"); }
/// <summary> /// Gets the <see cref="IAlive"/> implementation representing the received <see cref="alive"/> message /// </summary> /// <returns>A <see cref="IAlive"/> representing the received <see cref="alive"/> message</returns> public IAlive GetAlive() { return(_messageMapper.MapAlive(_feedMessage)); }