コード例 #1
0
 public ClienteServiceTests(ClienteFixture clienteFixture)
 {
     _clienteFixture    = clienteFixture;
     _clienteValido     = _clienteFixture.GerarClienteValido();
     _clienteInvalido   = _clienteFixture.GerarClienteInvalido();
     _clienteService    = _clienteFixture.ObterClienteService();
     _clienteRepository = _clienteFixture.Mocker.GetMock <IClienteRepository>();
 }
コード例 #2
0
 public ClienteTests(ClienteFixture clienteFixture)
 {
     _clienteFixture  = clienteFixture;
     _clienteValido   = _clienteFixture.GerarClienteValido();
     _clienteInvalido = _clienteFixture.GerarClienteInvalido();
 }