package unit.com.bitdubai.fermat_dmp_plugin.layer.actor.extra_user.developer.bitdubai.version_1.ExtraUserUserAddonRoot;

import com.bitdubai.fermat_api.layer.osa_android.logger_system.LogLevel;
import com.bitdubai.fermat_dmp_plugin.layer.actor.extra_user.developer.bitdubai.version_1.ExtraUserUserAddonRoot;

import org.fest.assertions.api.Assertions;
import org.junit.Ignore;
import org.junit.Test;

/**
 * Created by Manuel Perez on 26/07/15.
 */
public class GetLogLevelByClassTest_NotSetLogginLevel {

    ExtraUserUserAddonRoot extraUserUserAddonRoot;

    /**
     * I need to test the static method behavior and call the static LogLevel Map
     */
    @Test
<<<<<<< HEAD
    public void getLogLevelByClassTest_testingStaticBehaviorSetAValidArgument_returnNullLogLevel() throws Exception{

        LogLevel resultLogLevel=extraUserUserAddonRoot.getLogLevelByClass("com.bitdubai.fermat_dmp_plugin.layer.actor.extra_user.developer.bitdubai.version_1.structure.ExtraUser");
        Assertions.assertThat(resultLogLevel)
                .isNull();
=======
    public void getLogLevelByClassTest_notSetLogginLevel_returnDEFAULT_LOG_LEVEL() throws Exception{

        LogLevel resultLogLevel=extraUserUserAddonRoot.getLogLevelByClass("com.bitdubai.fermat_dmp_plugin.layer.actor.extra_user.developer.bitdubai.version_1.structure.ExtraUser");
        Assertions.assertThat(resultLogLevel)
                .isNotNull()
                .isEqualTo(LogLevel.MINIMAL_LOGGING);
>>>>>>> 3d6a2dd17f9f882b4df2074701a059f003aa3bfe

    }

    @Test
<<<<<<< HEAD
    public void getLogLevelByClassTest_testingStaticBehaviorLevelNullArgument_returnNullLogLevel() throws Exception{
=======
    public void getLogLevelByClassTest_NotSetLogginLevelNullArgument_returnDEFAULT_LOG_LEVEL() throws Exception{
>>>>>>> 3d6a2dd17f9f882b4df2074701a059f003aa3bfe

        extraUserUserAddonRoot=new ExtraUserUserAddonRoot();
        LogLevel resultLogLevel=extraUserUserAddonRoot.getLogLevelByClass(null);
        Assertions.assertThat(resultLogLevel)
                .isNotNull()
                .isEqualTo(LogLevel.MINIMAL_LOGGING);

    }

}

@@ -503,60 +503,8 @@
  %7B%0A%0A
-    ExtraUserUserAddonRoot extraUserUserAddonRoot;%0A%0A
     
@@ -603,37 +603,24 @@
 /%0A    @Test%0A
-%3C%3C%3C%3C%3C%3C%3C HEAD%0A
     public v
@@ -761,373 +761,9 @@
 vel=
-extraUserUserAddonRoot.getLogLevelByClass(%22com.bitdubai.fermat_dmp_plugin.layer.actor.extra_user.developer.bitdubai.version_1.structure.ExtraUser%22);%0A        Assertions.assertThat(resultLogLevel)%0A                .isNull();%0A=======%0A    public void getLogLevelByClassTest_notSetLogginLevel_returnDEFAULT_LOG_LEVEL() throws Exception%7B%0A%0A        LogLevel resultLogLevel=e
+E
 xtra
@@ -984,111 +984,9 @@
 ll()
-%0A                .isEqualTo(LogLevel.MINIMAL_LOGGING);%0A%3E%3E%3E%3E%3E%3E%3E 3d6a2dd17f9f882b4df2074701a059f003aa3bfe
+;
 %0A%0A  
@@ -1004,21 +1004,8 @@
 est%0A
-%3C%3C%3C%3C%3C%3C%3C HEAD%0A
     
@@ -1121,239 +1121,8 @@
 on%7B%0A
-=======%0A    public void getLogLevelByClassTest_NotSetLogginLevelNullArgument_returnDEFAULT_LOG_LEVEL() throws Exception%7B%0A%3E%3E%3E%3E%3E%3E%3E 3d6a2dd17f9f882b4df2074701a059f003aa3bfe%0A%0A        extraUserUserAddonRoot=new ExtraUserUserAddonRoot();
 %0A   
@@ -1150,17 +1150,17 @@
 ogLevel=
-e
+E
 xtraUser
@@ -1337,9 +1337,8 @@
     %7D%0A%0A%7D
-%0A

Fix the tests. Now this tests check the static behavior from this method.