Created
November 20, 2020 03:21
-
-
Save GuilhermeManzano/eba6fded00ec47e9eed3541710c99d31 to your computer and use it in GitHub Desktop.
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
@Test(expected=Exception.class) | |
public void testLocacao_filmeSemEstoque() throws Exception { | |
// cenario | |
LocacaoService service = new LocacaoService(); | |
Usuario usuario = new Usuario("Usuario 1"); | |
Filme filme = new Filme("Filme 1", 2, 4.0); | |
// açao | |
service.alugarFilme(usuario, filme); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment