public void Resolve_Nosynonyms_ArgumentNotFound_ReturnsNull() { var flags = new Flags(); var result = flags.Resolve("argument"); Assert.IsNull(result); }
public void Resolve_Twosynonyms_ResolveSecondsynonym_ReturnsArgument() { var flags = new Flags(); flags.Add("argument", "-a", "--a"); var result = flags.Resolve("--a"); Assert.That(result, Is.EqualTo("argument")); }
public void Resolve_Nosynonyms_ArgumentFound_ReturnsArgument() { var flags = new Flags(); flags.Add("argument"); var result = flags.Resolve("argument"); Assert.That(result, Is.EqualTo("argument")); }