@Test
void testUnbind() throws Exception {

    DefaultInitialContext context = new DefaultInitialContext();
    context.bind("name", "value");
    assertNotNull(context.lookup("name"));
    context.unbind("name");
    assertThrows(NameNotFoundException.class, () -> context.lookup("name"));
}