public void ValueAsSingleObject_FieldValueIsSingleObject_ReturnsValueAsRelativityObject()
        {
            //ARRANGE
            var pair = new FieldValuePair();

            pair.Value = new RelativityObject
            {
                ArtifactId = 123
            };

            //ACT
            var r = pair.ValueAsSingleObject();

            //ASSERT
            Assert.IsType <RelativityObject>(r);
            Assert.Equal(123, r.ArtifactId);
        }
        public void ValueAsSingleObject_FieldValueIsSingleObjectString_ReturnsValueAsRelativityObject()
        {
            //ARRANGE
            var pair = new FieldValuePair();

            pair.Value = @"{ 
                             ""ArtifactID"":123,
                             ""Guids"":[],
                             ""Name"":""Single 1""
                          }";

            //ACT
            var r = pair.ValueAsSingleObject();

            //ASSERT
            Assert.IsType <RelativityObject>(r);
            Assert.Equal(123, r.ArtifactId);
        }