Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Comment.

  • Loading branch information...
commit bf54fbd17dcc480cff6f9d168dec5fc93a97c508 1 parent b49cff6
@lrozenblyum authored
View
3  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();
Please sign in to comment.
Something went wrong with that request. Please try again.