RichardWarburton / lambda-behave

A modern testing and behavioural specification framework for Java 8

Home Page:http://richardwarburton.github.io/lambda-behave/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Business Domain class generator combinators

RichardWarburton opened this issue · comments

The goal for this issue is to make it easier for people to produce generators for classes in their domain model.

Eg: have a way of producing a constructor for a business domain object such as:

new BDO(someInt, someLong);

With an easy combinator, something like:

constructing(BDO::new).with(integersUpTo(10), longs());