@Test
public void checkDeletion()
        throws Exception {

    IKey key = mock(IKey.class);
    doNothing().when(container).remove(key);
    IOC.remove(key);
    verify(container, times(1)).remove(key);
}