public void TestGetCommandReturnsTrueWithNonExistingSkillAndAddsItToTheDatabase() { string skill = "python"; InsertSkill ins = new InsertSkill(); bool insert = ins.GetCommand(skill); Assert.IsTrue(insert); }
public void TestGetCommandReturnsTrueWithExistingSkill() { string skill = "SQL"; InsertSkill ins = new InsertSkill(); string newSkill = ins.FormatSkill(skill); Assert.IsTrue(ins.GetCommand(skill)); }
public void TestFormatSkillReturnsCorrectSkillString() { string skill = "dot net"; InsertSkill ins = new InsertSkill(); string newSkill = ins.FormatSkill(skill); Assert.AreEqual("Dot Net", newSkill); }
public void TestDetermineIfExistsReturnsTrueWithExistingSkill() { InsertSkill ins = new InsertSkill(); Assert.IsTrue(ins.DetermineIfExists("java")); }
public void TestDetermineIfExistsReturnsFalseWithNonExistingSkill() { InsertSkill ins = new InsertSkill(); Assert.IsFalse(ins.DetermineIfExists("prolog")); }