This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SimpleSnipetJUnitTest { | |
private Calculator calculator; | |
/** | |
* Este método é invocado antes de cada teste, a annotation | |
* facilita isso | |
*/ | |
@Before | |
public void setUp() { | |
//Tudo aqui será executado antes, servindo por exemplo para inicializar. | |
calculator = new Calculator(); |