public void DbHelpers_GetPropertyGetters_can_be_accessed_from_multiple_threads_concurrently() { ExecuteInParallel( () => { var getters = DbHelpers.GetPropertyGetters(typeof(TypeWithALotOfProperties)); var testType = new TypeWithALotOfProperties(); Assert.Equal(47, getters.Count); Assert.Equal("Hello", getters["Property3"](testType)); Assert.Equal(77, getters["Property26"](testType)); }); }