Ejemplo n.º 1
0
 public void ChangesWithFilter()
 {
     RealtimePushTestSingleResponse(
         () => testTable.Filter(o => o.Id == "3").Changes(),
         () =>
     {
         var result = connection.Run(testTable.Get("3").Update(o => new TestObject()
         {
             Name = "Updated!"
         }));
         result.Should().NotBeNull();
         result.Replaced.Should().Be(1);
     },
         response =>
     {
         response.OldValue.Name.Should().Be("3");
         response.NewValue.Name.Should().Be("Updated!");
     }
         );
 }