public void getVisitString_BadTS() { Encounter x = new Encounter(); x.LocationId = "my location id"; x.Timestamp = "hubahub"; x.Type = "the third kind"; VistaUtils.getVisitString(x); }
public void getVisitString() { Encounter x = new Encounter(); x.LocationId = "my location id"; x.Timestamp = "20101118.140400"; x.Type = "the third kind"; Assert.AreEqual("my location id;3101118.140400;the third kind", VistaUtils.getVisitString(x)); }