示例#1
0
        public async Task List_DeveListarTodosOsModelosDoDatabase()
        {
            // Arrange
            for (int i = 1; i < 4; i++)
            {
                await CreateAndCommit($"modelos/TestList{i}", true, null, null, null, null, $"ListTest{1}");
            }

            // Act
            var result = await modeloController.List();

            var modelosResult = result.Value as List <Modelo>;

            // Assert
            Assert.InRange(modelosResult.Count, 3, 999999);
        }