Created
November 25, 2019 14:38
-
-
Save mario-rezende-ifood/69df44af9c7ab36feaaf58822e8b9562 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
given: | |
def stack = new Stack() | |
when: | |
stack.pop() | |
then: | |
thrown(EmptyStackException) | |
stack.empty |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment