I'm not convinced this should be tested in the draw method. Normally this kind of validation would take place in the setter.