Closed GoogleCodeExporter closed 8 years ago
tagged Java
Original comment by t.denley
on 12 May 2012 at 10:46
I'm assuming in your test case possible values is just a static array of values:
String[] possibleValues = {"a", "b", "c"};
If this is the case, then is there are reason why your assertion can't be
expressed by this:
assertThat(actualValue, is(anyOf(equalToIgnoringCase("a"),
equalToIgnoringCase("b"),
equalToIgnoringCase("c"))))
Original comment by t.denley
on 20 May 2012 at 4:50
Closing as the requested feature seems achievable via other means and the
sponsoring user has gone dark.
Original comment by t.denley
on 29 Jul 2012 at 9:54
Original issue reported on code.google.com by
drothma...@googlemail.com
on 12 Aug 2010 at 3:08