313233343536373839
* @throws Exception * */ @Test public void startsWith() throws Exception { HogeMeta meta = new HogeMeta(); assertThat(meta.myString.startsWith("a"), is(StartsWithCriterion.class)); assertThat(meta.myString.startsWith(null), is(not(nullValue()))); }
424344454647484950
* @throws Exception * */ @Test public void endsWith() throws Exception { HogeMeta meta = new HogeMeta(); assertThat(meta.myString.endsWith("a"), is(InMemoryEndsWithCriterion.class)); assertThat(meta.myString.endsWith(null), is(not(nullValue()))); }
535455565758596061
* @throws Exception * */ @Test public void contains() throws Exception { HogeMeta meta = new HogeMeta(); assertThat(meta.myString.contains("a"), is(InMemoryContainsCriterion.class)); assertThat(meta.myString.contains(null), is(not(nullValue()))); }