We are confident that we know how much energy came from the bulb, and we know the mass of the water. Using the accepted value for the specific heat of water, we can predict how much the temperature of the water should have increased.