Closed nico78 closed 10 years ago
you can currently say:
expect.that(account).hasProperty("balance", is(0))
but it'd be nice if you could do something typesafe like:
expect.that(account) .meets(Account::getBalance()).is(5) .meets(Account::getName()).is("My Account")
you can currently say:
expect.that(account).hasProperty("balance", is(0))
but it'd be nice if you could do something typesafe like: