candlepin/candlepin — pull request #47 by alikins (2012-08-27 15:08:11+00:00)
Title: Add null check for Entitlement.getProductId

Running unit tests with debugging on could trigger
a NPE when stringifying empty Entitlement

(or, we could change the unit tests to not use an
empty Entitlment constructor)