All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.coderu.factory.junit.CoderuAssertFactory Maven / Gradle / Ivy

There is a newer version: 1.2.12
Show newest version
package org.coderu.factory.junit;

import org.coderu.adapters.junit.CoderuAssert;
import org.coderu.adapters.junit.CoderuAssertAdapter;
import org.coderu.core.api.Aliases;
import org.coderu.core.api.WrongDependencyExplorer;
import org.coderu.core.factory.WrongDependencyExplorerFactory;

public final class CoderuAssertFactory { // NO_UCD

    public static CoderuAssertAdapter create(){ // NO_UCD
        return create(Aliases.DEFAULT);
    }

    public static CoderuAssertAdapter create(final Aliases aliases){ // NO_UCD
        final WrongDependencyExplorer dependencyExplorer = WrongDependencyExplorerFactory.create(aliases);
        final CoderuAssert coderuAssert = new CoderuAssert(dependencyExplorer);
        return new CoderuAssertAdapter(coderuAssert);
    }

    private CoderuAssertFactory() {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy