public void replace_current_throws_if_current_has_not_been_set() { var model = new PostedTimeCollectionModel(); Assert.Throws<InvalidOperationException>(() => model.ReplaceCurrent(PT(10, PostedTimeType.Normal, 1))); }