Exemple #1
0
        public void GetListSimilar()
        {
            // Arrange
            SimilarService _simialrService = new SimilarService(unitOfWork);
            // Act
            List <Similar> similar = _simialrService.GetListSimilar("Drake");

            // Assert
            Assert.Equal(12, similar?.Count);
        }
Exemple #2
0
 public SimilarListModel(ILogger <SimilarListModel> logger, SimilarService similarService)
 {
     _logger         = logger;
     _similarService = similarService;
 }