This small correction will reduce efforts of writing junit tests. I found the need of this correction while making tests working in spring-rich-client project. Best regards, Serge Bogatyrjov.