Transformed private property mock into a local variable