@Test
public void testRebind02() throws Exception {

    // 前処理
    DefaultJndiSupport support = new DefaultJndiSupport();
    String name = "";
    Object obj = "abc";
    // JndiTemplate取得
    DefaultJndiSupport_JndiTemplateStub01 template = new DefaultJndiSupport_JndiTemplateStub01();
    template.setCallRebind(false);
    template.setJndiNameToUse(null);
    template.setObj(null);
    support.setJndiTemplate(template);
    // super.resourceRef = false;
    support.setResourceRef(false);
    // テスト実施
    support.rebind(name, obj);
    // 判定
    boolean b = template.isCallRebind();
    assertTrue(b);
    assertEquals("", template.getJndiNameToUse());
    assertEquals("abc", template.getObj());
}