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

Datei anzeigen 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_oe property

protected ApplicationUser appUserRetrievedFromFindMethod
return ApplicationUser

expectedGamingGroup protected_oe property

protected GamingGroup expectedGamingGroup
return GamingGroup

expectedPlayer protected_oe property

protected Player expectedPlayer
return Player

expectedUserGamingGroup protected_oe property

protected UserGamingGroup expectedUserGamingGroup
return UserGamingGroup