All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.insightfullogic.lambdabehave.specifications.TwoColumns Maven / Gradle / Ivy

There is a newer version: 0.4
Show newest version
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);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy