public void RenameResponsible_ShouldSetNewCode() { var newCode = "Code9"; var dut = new Responsible("PlantA", "CodeA", "DescA"); Assert.AreNotEqual(newCode, dut.Code); dut.RenameResponsible(newCode); Assert.AreEqual(newCode, dut.Code); }
public void RenameResponsible_ShouldOnEmptyCode() { var dut = new Responsible("PlantA", "CodeA", "DescA"); dut.RenameResponsible(" "); }