March 2018
Intermediate to advanced
324 pages
8h 30m
English
This implementation is very straightforward. We should change the method return type. Remember that one of the rules of TDD is to use the simplest possible solution. The simplest solution is to return true as in the following example:
public boolean saveMove(TicTacToeBean bean) {
getMongoCollection().save(bean);
return true;
}
Read now
Unlock full access