コード例 #1
0
 @Then("^the stack contains two items$")
 public void the_stack_contains_two_items() {
   assertEquals(2, myStack.size());
 }
コード例 #2
0
 @Then("^the stack contains one item$")
 public void the_stack_contains_one_item() {
   assertEquals(1, myStack.size());
 }