IOC { public static IKey getIocKey() { return container.getIocKey(); } private  IOC(); static IKey getIocKey(); static IKey getKeyForKeyStorage(); static T resolve(final IKey key, final Object ... args); static void register(final IKey key, final IResolveDependencyStrategy strategy); static void remove(final IKey key);  }
@Test public void checkGetIocGuid() throws Exception { when(container.getIocKey()).thenReturn(mock(IKey.class)); IKey key = IOC.getIocKey(); assertNotNull(key); }