six2six / fixture-factory

Generator fake objects from a template
Apache License 2.0
445 stars 88 forks source link

Doesn't support `var` in newer versions of Java #108

Open leandrorosa opened 5 years ago

leandrorosa commented 5 years ago

When the method Fixture.from(clazz).gimme(label) is called you have to implicit declare the type of your object.

Doesnt' work:

var client = Fixture.from(Client.class).gimme("valid");

Work:

Client client = Fixture.from(Client.class).gimme("valid");