The value to test.
An array of valid values.
Exception message.
The file name that the assert failed in. Should be left as default.
The file line that the assert failed in. Should be left as default.
If the value is not in the array, will throw an UnitTestException with the value and array values.
// Will throw an exception like "UnitTestException@example.d(6): <Peter> is not in <[Andrew, Anatoly]>." "Peter".shouldBeIn(["Andrew", "Anatoly"]);
Used to assert that one value is in an array of specified values.