Permalink
Browse files

Comment.

  • Loading branch information...
1 parent b49cff6 commit bf54fbd17dcc480cff6f9d168dec5fc93a97c508 @lrozenblyum committed Dec 2, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/test/java/com/leokom/chess/gui/winboard/WinBoardPlayerTest.java
@@ -21,7 +21,8 @@
public void creationSwitchesToInitMode() {
WinboardCommander commander = mock( WinboardCommander.class );
- WinboardPlayer controller = new WinboardPlayer( commander );
+ //implicit call of startInit
+ new WinboardPlayer( commander );
//it really checks only 1 method call
verify( commander ).startInit();

0 comments on commit bf54fbd

Please sign in to comment.