@Test
public void checkRegistration()
        throws Exception {

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