public void MainTest()
 {
     using (var session = Domain.OpenSession())
         using (var tx = session.OpenTransaction()) {
             var wo = new TestWorkOrder {
                 Str = "A"
             };
             var op       = new TestOperation(wo);
             var erpOrder = op.GetErpOrderReference();
             Assert.AreEqual(wo.Str, erpOrder);
         }
 }