示例#1
0
 public ProfileBuilder WithSkillLevel(SkillLevel skillLevel)
 {
     LevelOfSkill = skillLevel;
     return this;
 }
示例#2
0
 public void SetUp()
 {
     _skillLevel = new SkillLevel();
 }
示例#3
0
 public void UsesADefaultSkillLevelIfItIsCreatedWithAZeroSkillLevel()
 {
     const int level = 0;
     _skillLevel = new SkillLevel(level);
 }
示例#4
0
 public void CanBeCreatedWithASkillLevel()
 {
     const int level = 5;
     _skillLevel = new SkillLevel(5);
     Assert.AreEqual(level, _skillLevel.Level);
 }