public void GetAllArmorsOfAType() { var armors = gateway.FindByArmorType(ArmorType.Heavy); Assert.Equal(2, armors.Count()); Assert.True(armors.All(x => x.ArmorType == ArmorType.Heavy)); }
public void GetAllArmorsOfAType() { var armors = gateway.FindByArmorType(ArmorType.Heavy); Assert.Equal(2, armors.Count()); Assert.True(armors.All(x => x.ArmorType == ArmorType.Heavy)); }