@Test void testAddResource() throws Exception { try (final Dataset dataset = rdf.createDataset()) { assertDoesNotThrow(() -> testService.add(identifier, dataset).toCompletableFuture().join()); } }
@Override public CompletionStage<Void> add(final IRI identifier, final Dataset dataset) { return NO_RESULT; }
NoopResourceService implements ResourceService { @Override public CompletionStage<Void> add(final IRI identifier, final Dataset dataset) { return NO_RESULT; } }
NoopResourceService implements ResourceService { @Override public CompletionStage<Void> add(final IRI identifier, final Dataset dataset) { return NO_RESULT; }  }
NoopResourceService implements ResourceService { @Override public CompletionStage<Void> add(final IRI identifier, final Dataset dataset) { return NO_RESULT; }  @Override CompletionStage<Resource> get(final IRI identifier); @Override CompletionStage<Void> replace(final Metadata metadata, final Dataset dataset); @Override CompletionStage<Void> delete(final Metadata metadata); @Override CompletionStage<Void> add(final IRI identifier, final Dataset dataset); @Override CompletionStage<Void> touch(final IRI identifier); @Override Set<IRI> supportedInteractionModels(); @Override String generateIdentifier(); }
NoopResourceService implements ResourceService { @Override public CompletionStage<Void> add(final IRI identifier, final Dataset dataset) { return NO_RESULT; }  @Override CompletionStage<Resource> get(final IRI identifier); @Override CompletionStage<Void> replace(final Metadata metadata, final Dataset dataset); @Override CompletionStage<Void> delete(final Metadata metadata); @Override CompletionStage<Void> add(final IRI identifier, final Dataset dataset); @Override CompletionStage<Void> touch(final IRI identifier); @Override Set<IRI> supportedInteractionModels(); @Override String generateIdentifier();  }