public void TeamNameTryParseCanOutNullValue() { TeamName result; TeamName.TryParse("Ifk Götebor/", out result); Assert.IsNull(result); }
public void TeamNameTryParseCanOutValidResult() { TeamName result; TeamName.TryParse("Ifk Göteborg", out result); Assert.IsTrue(result.Value == "Ifk Göteborg"); }
public void TeamNameTryParseCanReturnFalse() { TeamName result; Assert.IsFalse(TeamName.TryParse("Ifk G?teborg", out result)); }
public void TeamNameTryParseCanReturnTrue() { TeamName result; Assert.IsTrue(TeamName.TryParse("Ifk Göteborg", out result)); }