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.collector.lang;
021
022import ch.powerunit.collector.CollectorTester;
023
024/**
025 * DSL step of the builder of {@link java.util.stream.Collector Collector
026 * tester}.
027 * 
028 * @author borettim
029 * @param <T>
030 *            the input type of the {@link java.util.stream.Collector Collector}
031 *            .
032 * @param <A>
033 *            the accumulator type of the {@link java.util.stream.Collector
034 *            Collector}.
035 * @param <R>
036 *            the return type of the {@link java.util.stream.Collector
037 *            Collector}.
038 * @since 0.4.0
039 */
040public interface CollectorTesterDSL1<T, A, R> extends
041                CollectorTesterDSL3<T, A, R> {
042        /**
043         * Build the instance of the tester.
044         * 
045         * @return {@link CollectorTester the tester to be used}
046         */
047        CollectorTester<T, A, R> build();
048}