Testing private methods through public methods.