UnitTestException on failure.
int[] ints; string[] strings; string[string] aa; assertFail(shouldNotBeEmpty(ints)); assertFail(shouldNotBeEmpty(strings)); assertFail(shouldNotBeEmpty(aa)); ints ~= 1; strings ~= "foo"; aa["foo"] = "bar"; shouldNotBeEmpty(ints); shouldNotBeEmpty(strings); shouldNotBeEmpty(aa);
Verify that aa is not empty.