public void SymptomManager_GetSymptomBy() { SymptomManager m = new SymptomManager(new TreeMonDbContext(connectionKey)); Assert.AreEqual( m.Insert(new Symptom() { AccountId = "a", Name = "TESTRECORD", DateCreated = DateTime.UtcNow }, false) .Code, 200); Symptom s = m.GetSymptom("TESTRECORD"); Assert.IsNotNull(s); Symptom suid = m.GetSymptomBy(s.UUID); Assert.IsNotNull(suid); }