예제 #1
0
        public void ReturnValue()
        {
            _character.Hp = 50;
            HealCommand command = new HealCommand(_character, 50);

            IMediatorCommandResponse response = _mediator.Execute(command);
            NoResponse _response = response as NoResponse;

            Assert.IsNotNull(_response);
        }
예제 #2
0
        public void ReturnValue()
        {
            _character.TempHp = 10;
            LooseTempHpCommand command = new LooseTempHpCommand(_character, 10);

            IMediatorCommandResponse response = _mediator.Execute(command);
            NoResponse _response = response as NoResponse;

            Assert.IsNotNull(_response);
        }