예제 #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");
        }
예제 #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");
        }