Private parameter with public setter test