001/**
002 * Powerunit - A JDK1.8 test framework
003 * Copyright (C) 2014 Mathieu Boretti.
004 *
005 * This file is part of Powerunit
006 *
007 * Powerunit is free software: you can redistribute it and/or modify
008 * it under the terms of the GNU General Public License as published by
009 * the Free Software Foundation, either version 3 of the License, or
010 * (at your option) any later version.
011 *
012 * Powerunit is distributed in the hope that it will be useful,
013 * but WITHOUT ANY WARRANTY; without even the implied warranty of
014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
015 * GNU General Public License for more details.
016 *
017 * You should have received a copy of the GNU General Public License
018 * along with Powerunit. If not, see <http://www.gnu.org/licenses/>.
019 */
020package ch.powerunit.bifunction.lang;
021
022import java.util.function.Supplier;
023
024/**
025 * Specification of an argument for the test.
026 * 
027 * @author borettim
028 * @since 0.3.0
029 */
030public interface BiFunctionTesterStartDSL<T, U, R> {
031        /**
032         * Specify the input argument.
033         * 
034         * @param input1
035         *            the first argument to be passed.
036         * @param input2
037         *            the second argument to be passed.
038         * @return the {@link BiFunctionTesterDefineDSL the next step of the DSL}
039         */
040        BiFunctionTesterDefineDSL<T, U, R> passingAsParameter(T input1, U input2);
041
042        /**
043         * Specify the input argument.
044         * 
045         * @param input1
046         *            the first argument to be passed.
047         * @param input2
048         *            the second argument to be passed.
049         * @return the {@link BiFunctionTesterDefineDSL the next step of the DSL}
050         */
051        BiFunctionTesterDefineDSL<T, U, R> passingAsParameter(Supplier<T> input1,
052                        Supplier<U> input2);
053}