public void Set_An_Empty_Cookie_When_Trying_To_Add_An_Unknown_Session() { Controller.RegisterVote(UnknownSessionId); ControllerInformationProvider.Received().SaveVotingCookie(Arg.Is <VotingCookie>(cookie => cookie.Id == CookieId)); }
public void Set_A_Cookie_When_Trying_To_Remove_A_Session() { Controller.RemoveVote(KnownSessionId); ControllerInformationProvider.Received().SaveVotingCookie(Arg.Is <VotingCookie>(cookie => cookie.Id == CookieId)); }