Conway’s Game of Life #17 – Game Loop – Mockito


Our tests are redundant and ugly, because there’s lot’s of boilerplate code for the stubbing. Let’s see if we can clean this up using a mocking framework. Not because it can do something we can’t, but because creating the stubs is less verbose and more flexible.

► All Game of Life Episodes: http://goo.gl/xc59GX
► Let’s Develop! http://letsdeveloper.com
► Don’t Miss an Episode: http://goo.gl/whzDi1

«Conway’s Game of Life»
The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970. The “game” is a zero-player game, meaning that its evolution is determined by its initial state, requiring no further input.

«Other Series»
► Let’s Refactor MovieRental: http://goo.gl/f7Yf21
► Let’s Develop With Maven in Eclipse: http://goo.gl/3KK2gb
► Let’s Develop With Git in Eclipse: http://goo.gl/phqnDe


Share this: Facebooktwittergoogle_plusredditpinterestlinkedinmail | Follow me: twittergoogle_plusyoutube