com.insightfullogic.lambdabehave.specifications.ThreeColumns Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lambda-behave Show documentation
Show all versions of lambda-behave Show documentation
A modern testing and behavioural specification framework for Java 8
package com.insightfullogic.lambdabehave.specifications;
/**
* ThreeColumns represents a three column table of data.
*/
public interface ThreeColumns {
/**
* Specify the actual behaviour.
*
* @param description a human readable description of the behaviour you're expecting.
* @param specification a function which describes in code the expected behaviour.
* @return this
*/
ThreeColumns toShow(String description, ThreeColumnDataSpecification specification);
/**
* Add another triple of elements to the column.
*
* @param first the first element to with.
* @param second the second element to with.
* @param third the third element to with.
* @return this the fluent builder object
*/
ThreeColumns and(F first, S second, T third);
}