Container implements IContainer { @Override public IKey getIocKey() { return this.strategyContainerKey; } Container(); @Override IKey getIocKey(); @Override IKey getKeyForKeyStorage(); @Override T resolve(final IKey key, final Object ... args); @Override void register(final IKey key, final IResolveDependencyStrategy strategy); @Override void remove(final IKey key);  }
@Test public void checkGetIocGuid() throws InvalidArgumentException { IContainer container = new Container(); assertNotNull(container.getIocKey()); assertNotNull(container.getIocKey().toString()); IContainer container1 = new Container(); assertNotEquals(container.getIocKey(), container1.getIocKey()); assertNotEquals(container.getIocKey().toString(), container1.getIocKey().toString()); }