C# Class BusinessLogic.Tests.UnitTests.LogicTests.UsersTests.GamingGroupContextSwitcherTests.SwitchGamingGroupContextTests

Show file Open project: NemeStats/NemeStats

Protected Properties

Property Type Description
contextSwitcher BusinessLogic.Logic.Users.GamingGroupContextSwitcher
currentUser ApplicationUser
dataContextMock IDataContext
gamingGroupIdUserCanSee int
gamingGroupidUserCannotSee int
retrievedUser ApplicationUser
userGamingGroups List

Private Methods

Method Description
ItDoesNotSaveIfTheUserIsAlreadySetToThatGamingGroup ( ) : void
ItUpdatesTheUsersGamingGroup ( ) : void
ItValidatesThatTheUserHasAccessToThisGamingGroup ( ) : void
SetUp ( ) : void

Property Details

contextSwitcher protected property

protected GamingGroupContextSwitcher,BusinessLogic.Logic.Users contextSwitcher
return BusinessLogic.Logic.Users.GamingGroupContextSwitcher

currentUser protected property

protected ApplicationUser currentUser
return ApplicationUser

dataContextMock protected property

protected IDataContext dataContextMock
return IDataContext

gamingGroupIdUserCanSee protected property

protected int gamingGroupIdUserCanSee
return int

gamingGroupidUserCannotSee protected property

protected int gamingGroupidUserCannotSee
return int

retrievedUser protected property

protected ApplicationUser retrievedUser
return ApplicationUser

userGamingGroups protected property

protected List userGamingGroups
return List