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