BB.UI.Web.MVC.Tests.Controllers.WebApi.UserControllerTest.GetUserTest C# (CSharp) Method

GetUserTest() private method

private GetUserTest ( ) : void
return void
        public void GetUserTest()
        {
            _userControllerWithAuthenticatedUserWithOrganisation
                 .Calling(c => c.GetUser (_userWithOrganisation.Email))
                 .ShouldReturn()
                 .Ok()
                 .WithResponseModelOfType<User>()
                 .Passing(p => p.Id == _userWithOrganisation.Id
                 && p.Email == _userWithOrganisation.Email
                 && p.FirstName == _userWithOrganisation.FirstName
                 && p.ImageUrl == _userWithOrganisation.ImageUrl
                 && p.LastName == _userWithOrganisation.LastName
                 && p.Nickname == _userWithOrganisation.Nickname);
        }