CMLStack { int size() { return sp; }  @Override String toString();  }
@Test public void testSize() { CMLStack stack = new CMLStack(); org.hamcrest.MatcherAssert.assertThat(stack.size(), is(0)); stack.push("first"); org.hamcrest.MatcherAssert.assertThat(stack.size(), is(1)); stack.push("second"); org.hamcrest.MatcherAssert.assertThat(stack.size(), is(2)); stack.push("third"); org.hamcrest.MatcherAssert.assertThat(stack.size(), is(3)); }