[hotfix] Remove obsolete adapter test
@@ -41,22 +41,6 @@ import static org.junit.Assert.*;
@PowerMockIgnore({"com.sun.org.apache.xerces.*", "javax.xml.*", "org.xml.*", "javax.management.*"})
public class AdapterWorkerManagementTest {
- @Test
- public void stopStreamAdapterFail() {
- String expected = "Adapter with id http://test.de was not found in this container and cannot be stopped.";
- AdapterStreamDescription asd = new GenericAdapterStreamDescription();
- asd.setUri("http://test.de");
-
- AdapterWorkerManagement adapterManagement = new AdapterWorkerManagement();
-
- try {
- adapterManagement.stopStreamAdapter(asd);
- fail();
- } catch (AdapterException e) {
- assertEquals(expected, e.getMessage());
- }
- }
-
@Test
public void stopStreamAdapterSuccess() throws AdapterException {
TestAdapter testAdapter = getTestAdapterInstance();
@@ -68,22 +52,6 @@ public class AdapterWorkerManagementTest {
}
- @Test
- public void stopSetAdapterFail() {
- String expected = "Adapter with id http://test.de was not found in this container and cannot be stopped.";
- AdapterSetDescription asd = new GenericAdapterSetDescription();
- asd.setUri("http://test.de");
-
- AdapterWorkerManagement adapterManagement = new AdapterWorkerManagement();
-
- try {
- adapterManagement.stopSetAdapter(asd);
- fail();
- } catch (AdapterException e) {
- assertEquals(expected, e.getMessage());
- }
- }
-
@Test
public void stopSetAdapterSuccess() throws AdapterException {
TestAdapter testAdapter = getTestAdapterInstance();
