Commits

Anonymous committed f1d919c

Removing backup file

  • Participants
  • Parent commits 8fb8f85

Comments (0)

Files changed (1)

File src/test/java/com/atlassian/plugins/tutorial/rest/MyRestResourceTest.java.backup

-package com.atlassian.plugins.tutorial.rest;
-
-import org.junit.Test;
-import org.junit.After;
-import org.junit.Before;
-import org.mockito.Mockito;
-import static org.junit.Assert.*;
-import static org.mockito.Mockito.*;
-import com.atlassian.plugins.tutorial.rest.MyRestResource;
-import com.atlassian.plugins.tutorial.rest.MyRestResourceModel;
-import javax.ws.rs.core.Response;
-import javax.ws.rs.core.GenericEntity;
-
-public class MyRestResourceTest {
-
-    @Before
-    public void setup() {
-
-    }
-
-    @After
-    public void tearDown() {
-
-    }
-
-    @Test
-    public void messageIsValid() {
-        MyRestResource resource = new MyRestResource();
-
-        Response response = resource.getMessage();
-        final MyRestResourceModel message = (MyRestResourceModel) response.getEntity();
-
-        assertEquals("wrong message","Hello World",message.getMessage());
-    }
-}