Skip to content

Conversation

@ilkivoo
Copy link
Owner

@ilkivoo ilkivoo commented Nov 28, 2017

No description provided.

Stack<String> operand = mock(Stack.class);
Stack<String> rpn = mock(Stack.class);
when(expression.isEmpty())
.thenReturn(false)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

в thenReturn() можно через запятую сколько угодно элементов передавать. хотя так может и более наглядно

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants