package de.fau.amos.virtualledger.server;

import org.junit.Assert;
import org.junit.Test;

import javax.ws.rs.core.Response;

public class TestRestProviderTest {
    private final TestRestProvider testRestProvider = new TestRestProvider();

    @Test
    public void helloWorld_noInput_200Status() {
        //arrange
        //act
        final Response result = testRestProvider.helloWorld();
        //assert
        Assert.assertEquals(200, result.getStatus());
    }

    @Test
    public void helloWorld_noInput_helloWorldEntity() {
        //arrange
        //act
        final Response result = testRestProvider.helloWorld();
        //assert
        Assert.assertEquals("Hello World", result.getEntity());
    }
}

@@ -678,19 +678,14 @@
 ls(%22
-Hello World
+hallo!
 %22, r

Edit wrong test that make build fail