public void ShouldHave13Method() { var _browser = new NameSpaces(); var ns = _browser.UploadNameSpaces(Directory.GetCurrentDirectory() + "\\forTests"); Assert.AreEqual(13, ns[0].Classes[0].Methods.Count); }
public void ShouldContain2Classes() { var _browser = new NameSpaces(); var ns = _browser.UploadNameSpaces(Directory.GetCurrentDirectory() + "\\forTests"); Assert.AreEqual(2, ns[0].Classes.Count); }
public void ShouldHaveCorrectNames() { var _browser = new NameSpaces(); var ns = _browser.UploadNameSpaces(Directory.GetCurrentDirectory() + "\\forTests"); Assert.AreEqual("Faker", ns[0].Classes[0].Name); }
public void ShouldNotBeNull() { var _browser = new NameSpaces(); var ns = _browser.UploadNameSpaces(Directory.GetCurrentDirectory() + "\\forTests"); Assert.IsNotNull(ns); }