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:
► Let’s Develop!
► Don’t Miss an Episode:

«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:
► Let’s Develop With Maven in Eclipse:
► Let’s Develop With Git in Eclipse:

Share this: Facebooktwittergoogle_plusredditpinterestlinkedinmail | Follow me: twittergoogle_plusyoutube