@Test
public void checkStrategyResolution()
        throws Exception {

    Object value = new String("a");
    Object other = new String("a");
    IResolveDependencyStrategy strategy = new SingletonStrategy(value);
    Object result = strategy.resolve();
    assertNotSame(value, other);
    assertEquals(value, result);
    assertSame(value, result);
    assertEquals(other, result);
    assertNotSame(other, result);
}