
org.cthul.matchers.chain.ChainFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cthul-matchers Show documentation
Show all versions of cthul-matchers Show documentation
Provides hamcrest.org matchers for strings and exceptions,
allows matching code blocks, and provides several utilities for
combining matchers.
The newest version!
package org.cthul.matchers.chain;
import java.util.Collection;
import org.hamcrest.Matcher;
/**
* Creates a matcher chain.
*/
public interface ChainFactory {
/**
* Creates a matcher chain.
*
* @param
* @param chain elements of the chain
* @return matcher chain
*/
public Matcher create(Collection extends Matcher super T>> chain);
/**
* Creates a matcher chain.
*
* @param
* @param chain elements of the chain
* @return matcher chain
*/
public Matcher create(Matcher super T>... chain);
/**
* Creates a matcher chain.
*
* @param
* @param chain elements of the chain
* @return matcher chain
*/
public Matcher of(Collection extends Matcher super T>> chain);
/**
* Creates a matcher chain.
*
* @param
* @param chain elements of the chain
* @return matcher chain
*/
public Matcher of(Matcher super T>... chain);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy