Exemplo n.º 1
0
        public void GetAlbumDetails_NotLoggedIn()
        {
            _repository.Save(_album.AddSong("Miku Miku", 1, 1));
            _permissionContext.LogOff();

            var result = _queries.GetAlbumDetails(_album.Id, "*****@*****.**");

            result.Should().NotBeNull("result");
        }
Exemplo n.º 2
0
        public void GetAlbumDetails_NotLoggedIn()
        {
            repository.Save(album.AddSong("Miku Miku", 1, 1));
            permissionContext.LogOff();

            var result = queries.GetAlbumDetails(album.Id, "*****@*****.**");

            Assert.IsNotNull(result, "result");
        }