@@ -0,0 +1,1224 @@
+package org.springframework.security.acls.objectidentity;%0D%0A%0D%0Aimport junit.framework.TestCase;%0D%0A%0D%0A/**%0D%0A * Tests for %7B@link ObjectIdentityRetrievalStrategyImpl%7D%0D%0A *%0D%0A * @author Andrei Stefan%0D%0A */%0D%0Apublic class ObjectIdentityRetrievalStrategyImplTests extends TestCase %7B%0D%0A    //~ Methods ========================================================================================================%0D%0A    %0D%0A    public void testObjectIdentityCreation() throws Exception %7B%0D%0A        MockIdDomainObject domain = new MockIdDomainObject();%0D%0A        domain.setId(new Integer(1));%0D%0A        %0D%0A        ObjectIdentityRetrievalStrategy retStrategy = new ObjectIdentityRetrievalStrategyImpl();%0D%0A        ObjectIdentity identity = retStrategy.getObjectIdentity(domain);%0D%0A        %0D%0A        assertNotNull(identity);%0D%0A        assertEquals(identity, new ObjectIdentityImpl(domain));%0D%0A    %7D%0D%0A    %0D%0A    //~ Inner Classes ==================================================================================================%0D%0A    %0D%0A    private class MockIdDomainObject %7B%0D%0A        private Object id;%0D%0A%0D%0A        public Object getId() %7B%0D%0A            return id;%0D%0A        %7D%0D%0A%0D%0A        public void setId(Object id) %7B%0D%0A            this.id = id;%0D%0A        %7D%0D%0A    %7D%0D%0A%7D%0D%0A

test class for ObjectIdentityRetrievalStrategyImpl