package org.openherbarium.module.backend.metadataservice.rest.endpoint;

import static org.junit.Assert.fail;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.openherbarium.module.backend.metadataservice.api.MetadataService;
import org.rapidpm.ddi.DI;

public class MetadataServiceRESTEndpointTest {
  @Before
  public void setUp() {
    DI.clearReflectionModel();
    DI.activatePackages("org.openherbarium");
  }

  @After
  public void tearDown() {
    DI.clearReflectionModel();
  }

  @Test
  public void test() {
    MetadataService endpoint = DI.activateDI(MetadataService.class);
    fail("Not yet implemented");
  }

}

@@ -70,45 +70,8 @@
 t;%0A%0A
-import static org.junit.Assert.fail;%0A
 impo
@@ -504,16 +504,25 @@
 oid test
+_activate
 () %7B%0A   
@@ -591,41 +591,8 @@
 s);%0A
-    fail(%22Not yet implemented%22);%0A
   %7D%0A

Add very basic test