public void TesteHandlerTodos() { SqlHandler.AddBool(); SqlHandler.AddEnumChar <Situacao>(); SqlHandler.AddEnumString <Status>(); List <EnumBoolModelStringCharBool> retorno = _repository.GetAllHandlerTodos(_qtdRegistros); }
public TestHandlers() { SqlHandler.AddBool(); SqlHandler.AddEnumChar <CharEnum>(); SqlHandler.AddEnumString <StringEnum>(); SqlHandler.AddGuid(); new DbCreator() .UseEntity <DatabaseModel>(); }
public void TesteHandlerChar() { SqlHandler.AddEnumChar <Situacao>(); List <EnumBoolModelChar> retorno = _repository.GetAllHandlerChar(_qtdRegistros); }
public void RegisterHandlerofCharEnumNotMapped() { Action test = () => { SqlHandler.AddEnumChar <CharEnumNotMapped>(); }; test.ShouldThrow <EnumCharNotMappedException <CharEnumNotMapped> >(); }