Closed nykolaslima closed 11 years ago
Example:
public class Account { private BigDecimal balance; public BigDecimal getBalance() { return balance; } // No Setter for balance }
Fixture-factory should be able to mock "balance" field value. Nowadays this throw an IllegalArgumentException with no such attribute message.
Fixture.of(Account.class).addTemplate("balance", new Rule(){{ add("balance", new BigDecimal("1000"); }});
Example:
Fixture-factory should be able to mock "balance" field value. Nowadays this throw an IllegalArgumentException with no such attribute message.