C# Class BusinessLogic.Tests.UnitTests.LogicTests.GamingGroupsTests.GamingGroupSaverTests.CreateGamingGroupAsyncTests

Show file Open project: NemeStats/NemeStats

Protected Properties

Property Type Description
appUserRetrievedFromFindMethod ApplicationUser
expectedGamingGroup GamingGroup
expectedPlayer Player
expectedUserGamingGroup UserGamingGroup

Private Methods

Method Description
ItAssociatesTheUserWithTheGamingGroup ( ) : void
ItCreatesANewPlayerNamedAfterTheUserNameAndAssociatedWithTheUser ( ) : void
ItReturnsTheNewlyCreatedGamingGroupResult ( ) : void
ItSetsTheGamingGroupName ( ) : void
ItSetsTheOwnerToTheCurrentUser ( ) : void
ItThrowsAnArgumentExceptionIfTheGamingGroupNameIsNull ( ) : void
ItThrowsAnArgumentExceptionIfTheGamingGroupNameIsWhitespace ( ) : void
ItTracksTheGamingGroupCreation ( ) : void
ItUpdatesTheCurrentUsersGamingGroup ( ) : void
SetUp ( ) : void

Property Details

appUserRetrievedFromFindMethod protected property

protected ApplicationUser appUserRetrievedFromFindMethod
return ApplicationUser

expectedGamingGroup protected property

protected GamingGroup expectedGamingGroup
return GamingGroup

expectedPlayer protected property

protected Player expectedPlayer
return Player

expectedUserGamingGroup protected property

protected UserGamingGroup expectedUserGamingGroup
return UserGamingGroup