Example #1
0
        public void EquipmentManager_GetEquipmentByType()
        {
            EquipmentAccessor.Arrange(x => x.GetEquipmentByType(Arg.IsAny <long>()))
            .Returns(Task.FromResult(Enumerable.Empty <Equipment>()))
            .OccursOnce();

            var res = manager.GetEquipmentByType(5).Result;

            Assert.IsNotNull(res);
            EquipmentAccessor.Assert();
        }