Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

factory method for collection contract #23

Closed
maciejmikosik opened this issue Mar 28, 2015 · 1 comment
Closed

factory method for collection contract #23

maciejmikosik opened this issue Mar 28, 2015 · 1 comment
Assignees
Milestone

Comments

@maciejmikosik
Copy link
Owner

Add customization of collection contract.
Ability to specify name of factory method to use instead of constructor.

quacksLike(Collection.class)
    .withFactory("copyOf")
@maciejmikosik maciejmikosik added this to the 0.9.0 milestone Mar 28, 2015
@maciejmikosik maciejmikosik self-assigned this Mar 30, 2015
@maciejmikosik
Copy link
Owner Author

implemented withFactory option in collection contract 407cafd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant