Just returning `typeof(T).GetProperty(pi.Name)` can cover all the test cases but I added the comparison to simply return `pi` because most of cases where we use this class are there. I'm sure that I should add some comments to explain that the code currently isn't under any tests.