Community c3 = Community.find (context, c1.getID());
Community c3 = Community.find (context, id);
    public void testCommunity()    {        Context context = null;        try        {            context = new Context();            Community c1 = createCommunity(context);            Community c2 = Community.find (context, c1.getID());            assertNotNull("Found community", c2);            assertEquals("Found community has correct name",                         c2.getMetadata("name"), TEST_NAME_1);            assertTrue("Found community in getAllCommunities array",                       contains(Community.getAllCommunities(context), c1));            c1.delete();            Community c3 = Community.find (context, c1.getID());            assertNull("Did not find deleted community", c3);            context.complete();        }        // Clean up context or the test hangs        catch (AssertionFailedError afe)        {            if (context != null)                context.abort();            throw afe;        }        catch (Exception e)        {            if (context != null)                context.abort();            e.printStackTrace();            System.out.println("Got exception: " + e);            fail("Exception while running test: " + e);        }    }