I'd rather see testing the public interface (here the result of the rendering operation) than calling the private impl.