Example #1
0
        public void edit_should_increment_the_number_of_versions()
        {
            var mixin = new VersionMixin <DummyVerion>(new DummyVerion());

            Assert.AreEqual(1, mixin.Versions.Count());

            mixin.Edit(new UserReference());

            Assert.AreEqual(2, mixin.Versions.Count());
        }
Example #2
0
 public PlanVersion Edit(UserReference user)
 {
     return(_version.Edit(user));
 }
Example #3
0
 public SimulationVersion Edit(UserReference user)
 {
     return(_versions.Edit(user));
 }