This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@SuppressWarnings("rawtypes") | |
public class OptionalArrayArgumentMatcher extends ArgumentMatcher<Optional> { | |
private final Optional compareWith; | |
public OptionalArrayArgumentMatcher(Optional optionalArray) { | |
this.compareWith = optionalArray; | |
} | |
@Override |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Map; | |
/** | |
* Fluent builder for {@link Map}'s | |
* | |
* @param <K> key type | |
* @param <V> value type | |
*/ | |
public class MapBuilder<K, V> { |