com.insightfullogic.lambdabehave.specifications.TwoColumns 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;
/**
* TwoColumns represents a two column table of data.
*/
public interface TwoColumns {
/**
* 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
*/
TwoColumns toShow(String description, TwoColumnDataSpecification specification);
/**
* Add another pair of elements to the column.
*
* @param first the first element to with.
* @param second the second element to with.
* @return this the fluent builder object
*/
TwoColumns and(F first, S second);
}