Пример #1
0
        public async Task PartService_ShouldGetCorrectParts()
        {
            //Arrange
            var db = DatabaseInitializer.GetDbForPartService();

            var service = new PartService(db);

            //Act
            var parts = await service.All();

            //Assert
            parts.Should().HaveCount(2);
        }