@Test public void shouldTestObjectIdentifierRetrieval() throws Exception { List<String> ids = this.parser.getObjectIdentifiers(); assertFalse(ids.isEmpty()); assertEquals(264, ids.size()); }
public List<String> getObjectIdentifiers() { List<String> uris = new ArrayList<String>(); List<Element> elements = this.profile.getRootElement().element("partition").element("elements") .elements("element"); for (Element e : elements) { uris.add(e.attributeValue("uid")); } return uris; }
C3POProfileParser { public List<String> getObjectIdentifiers() { List<String> uris = new ArrayList<String>(); List<Element> elements = this.profile.getRootElement().element("partition").element("elements") .elements("element"); for (Element e : elements) { uris.add(e.attributeValue("uid")); } return uris; } }
C3POProfileParser { public List<String> getObjectIdentifiers() { List<String> uris = new ArrayList<String>(); List<Element> elements = this.profile.getRootElement().element("partition").element("elements") .elements("element"); for (Element e : elements) { uris.add(e.attributeValue("uid")); } return uris; }  }
C3POProfileParser { public List<String> getObjectIdentifiers() { List<String> uris = new ArrayList<String>(); List<Element> elements = this.profile.getRootElement().element("partition").element("elements") .elements("element"); for (Element e : elements) { uris.add(e.attributeValue("uid")); } return uris; }  void read(final InputStream stream, boolean validate); String getCollectionId(); String getPartitionFilterKey(); String getObjectsCountInPartition(); String getDescriptionOfObjects(); String getTypeOfObjects(); List<SampleObject> getSampleObjects(); List<String> getObjectIdentifiers(); }
C3POProfileParser { public List<String> getObjectIdentifiers() { List<String> uris = new ArrayList<String>(); List<Element> elements = this.profile.getRootElement().element("partition").element("elements") .elements("element"); for (Element e : elements) { uris.add(e.attributeValue("uid")); } return uris; }  void read(final InputStream stream, boolean validate); String getCollectionId(); String getPartitionFilterKey(); String getObjectsCountInPartition(); String getDescriptionOfObjects(); String getTypeOfObjects(); List<SampleObject> getSampleObjects(); List<String> getObjectIdentifiers();  }