ProviderBinderUtil.bind(binder(), SimpleProviderAlt.class, Scopes.SINGLETON);
}
}
);
SimplePojo pojo = injector.getInstance(SimplePojo.class);
Assert.assertEquals(pojo.getI(), 1);
Assert.assertEquals(pojo.getS(), "one");
SimplePojoAlt pojoAlt = injector.getInstance(SimplePojoAlt.class);
Assert.assertEquals(pojoAlt.getL(), 3);
Assert.assertEquals(pojoAlt.getD(), 4.5);
}