Cover the valueOf statement in the enum

Achieves 100% coverage now.

See http://padcom13.blogspot.co.uk/2009/12/code-coverage-and-enum-types.html