예제 #1
0
 public void FromProto_TimestampNotInProto()
 {
     var commitTime = CreateProtoTimestamp(20, 30);
     var proto = new V1Beta1.WriteResult();
     var result = WriteResult.FromProto(proto, commitTime);
     Assert.Equal(new Timestamp(20, 30), result.UpdateTime);
 }