package com.github.bfh.study.slb;

import com.github.bfh.study.slb.imports.EuProvider;
import com.github.bfh.study.slb.imports.ImportContext;
import com.github.bfh.study.slb.imports.SecoProvider;
import org.testng.annotations.Test;

import static org.testng.AssertJUnit.assertEquals;

@Test
public class ImportTest {

    ImportContext context;

    public void secoProviderTest(){
        context = ImportContext.importContextFactory("SECO");
        assertEquals(15, context.executeImport(10, 5));
    }

    public void euProviderTest(){
        context = ImportContext.importContextFactory("EU");
        assertEquals(5, context.executeImport(10, 5));
    }
}

@@ -39,52 +39,52 @@
 ort 
-com.github.bfh.study.slb.imports.EuProvider;
+static org.testng.AssertJUnit.assertEquals;%0A
 %0Aimp
@@ -176,27 +176,38 @@
 mports.S
-ecoProvider
+ourceNotFoundException
 ;%0Aimport
@@ -241,60 +241,8 @@
 t;%0A%0A
-import static org.testng.AssertJUnit.assertEquals;%0A%0A
 @Tes
@@ -459,16 +459,78 @@
 %0A    %7D%0A%0A
+    @Test(expectedExceptions = SourceNotFoundException.class)%0A
     publ

fix failing unit test