public void UpdateSkill_WhenRequested_HasUpdatedInfo() { //Arrange var guid = Guid.NewGuid(); _skillsService.CachedSvcSkills = new Dictionary <Guid, API.Dto.Skill> { { guid, new API.Dto.Skill { Id = guid, Ranks = 0 } } }; var correctSkill = new API.Dto.Skill { Id = guid, Ranks = 4, Class = true }; //Act _skillsService.UpdateSkill(new SkillUpdateRequest { Id = guid, Ranks = 4, Class = true }); var result = _skillsService.GetAllSkills(); //Assert result.FirstOrDefault().Should().BeEquivalentTo(correctSkill); }