I want to test my Guice modules and I managed to do it for modules containing bindings only. Now I'm wondering how to test this kind of module?
class ModuleA extends AbstractModule {
@Override
protected voir configure() {
Names.bindProperties(binder(), new ModuleAProperties());
install(new ModuleB());
}
}
- How to test bindProperties()?
- How to test install()?