1 2 3 4 5 6 7 8 9 10 11 12 13
package org.junit.tests.assertion; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import org.junit.Test; import org.junit.internal.matchers.Each; public class EachTest { @Test public void eachDescription() { assertThat(Each.each(is("a")).toString(), is("each is \"a\"")); } }