main
1using Machine.Specifications;
2using solidware.financials.service.orm;
3
4namespace specs.unit.service.orm
5{
6 public class EmptyUnitOfWorkSpecs
7 {
8 [Subject(typeof(EmptyUnitOfWork))]
9 public class When_disposing_an_empty_unit_of_work
10 {
11 It should_not_do_anything = () =>
12 {
13 new EmptyUnitOfWork().Dispose();
14 };
15 }
16 [Subject(typeof(EmptyUnitOfWork))]
17 public class When_committing_an_empty_unit_of_work
18 {
19 It should_not_do_anything = () =>
20 {
21 new EmptyUnitOfWork().commit();
22 };
23 }
24 }
25}