示例#1
0
  public void testThatAGetAllWithSingleFileReturnsOneSpec() throws Exception {
    DocumentRepository repository = new VFSRepository();
    List<String> listing = repository.listDocuments(tempFile.getName().getURI());

    assertEquals(1, listing.size());
    assertSpecificationLoadedOk(repository.loadDocument(CollectionUtil.first(listing)));
  }
示例#2
0
 protected List<String> parameters() {
   return CollectionUtil.odd(getCells());
 }