@@ -82,8 +82,6 @@ public void defaults() throws Exception {
8282 AnnotatedBindingBuilder <Jedis > jABB = unit .mock (AnnotatedBindingBuilder .class );
8383 expect (jABB .toProvider (isA (Provider .class ))).andReturn (jABB );
8484 expect (jABB .toProvider (isA (Provider .class ))).andReturn (jABB );
85- jABB .asEagerSingleton ();
86- jABB .asEagerSingleton ();
8785
8886 Binder binder = unit .get (Binder .class );
8987 expect (binder .bind (Key .get (JedisPool .class ))).andReturn (jpABB );
@@ -143,8 +141,6 @@ public void shouldGetJedisInstance() throws Exception {
143141 AnnotatedBindingBuilder <Jedis > jABB = unit .mock (AnnotatedBindingBuilder .class );
144142 expect (jABB .toProvider (isA (Provider .class ))).andReturn (jABB );
145143 expect (jABB .toProvider (unit .capture (Provider .class ))).andReturn (jABB );
146- jABB .asEagerSingleton ();
147- jABB .asEagerSingleton ();
148144
149145 Binder binder = unit .get (Binder .class );
150146 expect (binder .bind (Key .get (JedisPool .class ))).andReturn (jpABB );
@@ -206,8 +202,6 @@ public void jedisConfigOverride() throws Exception {
206202 AnnotatedBindingBuilder <Jedis > jABB = unit .mock (AnnotatedBindingBuilder .class );
207203 expect (jABB .toProvider (isA (Provider .class ))).andReturn (jABB );
208204 expect (jABB .toProvider (isA (Provider .class ))).andReturn (jABB );
209- jABB .asEagerSingleton ();
210- jABB .asEagerSingleton ();
211205
212206 Binder binder = unit .get (Binder .class );
213207 expect (binder .bind (Key .get (JedisPool .class ))).andReturn (jpABB );
0 commit comments