Exemplo n.º 1
0
 public void IsFloatingObjectTest()
 {
     Assert.That(Helper.IsFloatingObject(obj), Is.EqualTo(true));
     ((TestDataObjectImpl)obj).ID = 1;
     obj.AttachToContext(scope.Resolve <IZetboxContext>());
     Assert.That(Helper.IsFloatingObject(obj), Is.EqualTo(false));
 }