Obvious way is to manually
test it at runtime. Any dependencies that are not set will throw a NullPointerException.
Another, and more robust, way is to annotate the setter method in your class with Spring's @Required annotation. This will produce an explicit Warning in your StdErr output stating that a required dependency has not been provided.