public void setting_DurationTicks_should_read_same_from_Duration()
        {
            var ts =  TimeSpan.FromTicks(100);
            var d = new Deviation { DurationTicks = 100 };

            d.Duration.Should().Equal(ts);
        }
 private static void InsertDeviationInDB(Deviation d)
 {
     _db.Deviations.Insert(d);
 }
 private static void InsertDeviationInDB(Deviation d)
 {
     var db = Database.Open();
     db.Deviations.Insert(d);
 }
        // PUT api/deviation/5
        public void PutDeviation(Deviation value)
        {

        }
        public void Duration_should_set_DurationTicks()
        {
            var d = new Deviation { Duration = TimeSpan.FromTicks(100) };

            d.DurationTicks.Should().Equal((Int64)100);
        }