public void SetUp()
        {
            _stubGetAlbums = Substitute.For <IGetAlbums>();
            _stubGetPhotos = Substitute.For <IGetPhotos>();

            var getAlbumsByUser = new GetAlbumsByUser(_stubGetAlbums, _stubGetPhotos);

            _sut = new GetAlbumByUserController(getAlbumsByUser);
        }
Пример #2
0
 public GetAlbumsByUser(IGetAlbums getAlbums, IGetPhotos getPhotos)
 {
     _getAlbums = getAlbums;
     _getPhotos = getPhotos;
 }