//RestoreToOriginalState
 public void SetMemento(Memento memento)
 {
     this.Name       = memento.NameState();
     this.Identifier = memento.IdentifierState();
     this.AmmoCount  = memento.AmmoCountState();
     this.Board      = memento.BoardState();
 }
        public void CreateMemento_Test()
        {
            // Arrange
            Player player = new Player();

            player.Name = "test";
            player.CreateIdentifier(0);
            player.AmmoCount = 10;
            player.Board     = new Board(10);
            int exp = 10;

            // Act
            Memento result = player.CreateMemento();

            // Assert
            Assert.IsNotNull(result);
            Assert.AreEqual(exp, result.AmmoCountState());
        }