Ejemplo n.º 1
0
 public void AddBranch()
 {
     Assert.That(service.Add("east"), Is.EqualTo(1));
     Assert.That(service.BranchNames(), Is.EqualTo(new List <string> {
         "east"
     }));
 }
Ejemplo n.º 2
0
        public void PersistentStorage()
        {
            service.Add("east");
            var secondService = new BranchService();

            Assert.That(secondService.BranchNames(), Is.EqualTo(new List <string> {
                "east"
            }));
        }