src/de/htwsaar/demo/Client/ClientTest.java
@org.junit.jupiter.api.Test
    void delete() throws IOException, InterruptedException {
        var c = new Client(ENDPOINT);
        dataset.forEach((k, v) -> {
            try {
                // Delete key on remote side
                assertTrue(c.delete(k));

                // Check if value is not retrievable from remote anymore
                var res = c.getByID(k);
                assertTrue(res.isEmpty());
            } catch (IOException | InterruptedException e) {
                e.printStackTrace();
            }
        });

        assertEquals(0, c.getAll().size());
    }
/**
     * Test delete functionality
     *
     * @throws IOException
     * @throws InterruptedException
     */
Test delete functionality
@throws IOException
@throws InterruptedException
Test delete functionality @throws IOException @throws InterruptedException
@org.junit.jupiter.api.Test
    void delete() throws IOException, InterruptedException {
        var c = new Client(ENDPOINT);
        dataset.forEach((k, v) -> {
            try {
                assertTrue(c.delete(k));
                var res = c.getByID(k);
                assertTrue(res.isEmpty());
            } catch (IOException | InterruptedException e) {
                e.printStackTrace();
            }
        });
        assertEquals(0, c.getAll().size());
    }
@ org . junit . jupiter . api . Test void delete ( ) throws IOException , InterruptedException { var c = new Client ( ENDPOINT ) ; dataset . forEach ( ( k , v ) -> { try { assertTrue ( c . delete ( k ) ) ; var res = c . getByID ( k ) ; assertTrue ( res . isEmpty ( ) ) ; } catch ( IOException | InterruptedException e ) { e . printStackTrace ( ) ; } } ) ; assertEquals ( 0 , c . getAll ( ) . size ( ) ) ; }
Test delete functionality
 @throws IOException
 @throws InterruptedException
Test delete functionality @throws IOException @throws InterruptedException
// Delete key on remote side // Check if value is not retrievable from remote anymore