@@ -0,0 +1,1972 @@
+package unit.com.bitdubai.fermat_dmp_plugin.layer.actor.extra_user.developer.bitdubai.version_1.structure.ExtraUserDatabaseFactory;%0A%0Aimport com.bitdubai.fermat_dmp_plugin.layer.actor.extra_user.developer.bitdubai.version_1.structure.ExtraUserDatabaseFactory;%0A%0Aimport org.fest.assertions.api.Assertions;%0Aimport org.junit.Test;%0A%0Aimport java.util.UUID;%0A%0Aimport unit.com.bitdubai.fermat_dmp_plugin.layer.actor.extra_user.developer.bitdubai.version_1.ExtraUserUserAddonRoot.MockErrorManager;%0A%0A/**%0A * Created by Manuel Perez on 30/07/15.%0A */%0Apublic class SetErrorManagerTest %7B%0A%0A    @Test(expected = Exception.class)%0A    public void setErrorManagerTest_setNullErrorManagerAnExceptionIsThrown_throwsAnException() throws Exception%7B%0A%0A        ExtraUserDatabaseFactory anotherExtraUserDatabaseFactory=new ExtraUserDatabaseFactory();%0A        MockErrorManager mockErrorManager=null;%0A        anotherExtraUserDatabaseFactory.setErrorManager(mockErrorManager);%0A        anotherExtraUserDatabaseFactory.setPluginDatabaseSystem(null);%0A        anotherExtraUserDatabaseFactory.createDatabase(UUID.randomUUID());%0A%0A    %7D%0A%0A    @Test%0A    public void setErrorManagerTest_setValidErrorManagerAnExceptionIsThrown_theErrorManagerContainsTheExceptionInformation() throws Exception%7B%0A%0A        ExtraUserDatabaseFactory anotherExtraUserDatabaseFactory=new ExtraUserDatabaseFactory();%0A        MockErrorManager mockErrorManager=new MockErrorManager();%0A        anotherExtraUserDatabaseFactory.setErrorManager(mockErrorManager);%0A        anotherExtraUserDatabaseFactory.setPluginDatabaseSystem(null);%0A        Assertions.assertThat(mockErrorManager).isNotNull();%0A%0A    %7D%0A%0A    @Test%0A    public void setErrorManagerTest_setValidErrorManager_theErrorManagerIsSet()throws Exception%7B%0A%0A        ExtraUserDatabaseFactory extraUserDatabaseFactory=new ExtraUserDatabaseFactory();%0A        MockErrorManager mockErrorManager=new MockErrorManager();%0A        extraUserDatabaseFactory.setErrorManager(mockErrorManager);%0A%0A    %7D%0A%0A%7D%0A

Add new test.