Created
November 23, 2010 23:38
Cajero que viola I
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
public class Cajero { | |
public void muestraLaPantallaPrincipal() { | |
Banco banco = new Banco(new OperacionesBancariasBancoManolito(), | |
this); | |
banco.obtenerCuenta(obtenCredenciales()); | |
} | |
public void cuentaObtenida(Cuenta cuenta) { | |
muestraInformacionDeLacuenta(cuenta); | |
} | |
public void cuentaAnulada() { | |
muestraUnErrorPorCuentaAnulada(); | |
} | |
public void credencialesIncorrectas() { | |
pideUnasNuevasCredenciales(); | |
} | |
public void bancoInaccesible() { | |
pasaAModoFueraDeServico(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment