@Test public void testSiteFind() throws Exception { int id = 0; Site found = (Site)Site.find(context, id); assertThat("testSiteFind 0",found, notNullValue()); assertThat("testSiteFind 1",found, equalTo(s)); }
public static DSpaceObject find(Context context, int id) throws SQLException { if (theSite == null) { theSite = new Site(); } return theSite; }
Site extends DSpaceObject { public static DSpaceObject find(Context context, int id) throws SQLException { if (theSite == null) { theSite = new Site(); } return theSite; } }
Site extends DSpaceObject { public static DSpaceObject find(Context context, int id) throws SQLException { if (theSite == null) { theSite = new Site(); } return theSite; }  }
Site extends DSpaceObject { public static DSpaceObject find(Context context, int id) throws SQLException { if (theSite == null) { theSite = new Site(); } return theSite; }  int getType(); int getID(); String getHandle(); static String getSiteHandle(); static DSpaceObject find(Context context, int id); void update(); String getName(); String getURL(); }
Site extends DSpaceObject { public static DSpaceObject find(Context context, int id) throws SQLException { if (theSite == null) { theSite = new Site(); } return theSite; }  int getType(); int getID(); String getHandle(); static String getSiteHandle(); static DSpaceObject find(Context context, int id); void update(); String getName(); String getURL(); static final int SITE_ID; }