public PersonControllerTests() { _log = new Mock <ILogger <PersonController> >(); _personController = new PersonController(TesteBase.GetInstance().serviceProvider.GetService <IExamplePersonServices>(), _log.Object); _examplePerson = new ExamplePerson(); }
public static TesteBase GetInstance() { return(_testeBase ?? (_testeBase = new TesteBase())); }