public static void GetIndividualPropertyDetailsByAttribute_Should_Throw_Exception_When_Obj_Is_Null()
        {
            // arrange
            MyExampleWithoutAnnotation obj = null;

            // act
            Exception ex =
                Assert.Throws <ArgumentNullException>(() => PropertyHelper
                                                      .GetIndividualPropertyDetailsByAttribute <MyExampleWithoutAnnotation, BsonIdAttribute>(obj));

            // assert
            Assert.Equal("Value cannot be null.\r\nParameter name: obj", ex.Message);
        }
        public static void GetIndividualPropertyDetailsByAttribute_Should_Get_Null()
        {
            // arrange
            MyExampleWithoutAnnotation obj = new MyExampleWithoutAnnotation
            {
                UniqueId   = Guid.Parse("5be8f701-8358-4ea9-b2d1-5006d516da21"),
                SomeString = "Test"
            };

            // act
            var result = PropertyHelper
                         .GetIndividualPropertyDetailsByAttribute <MyExampleWithoutAnnotation, BsonIdAttribute>(obj);

            // assert
            Assert.Null(result);
        }