public void CreateTest()
 {
     var manager = new CompanyManager();
     var company = new Company{ Id = Guid.NewGuid(), Clients = new List<Client>(), Name = "test name", ChildCompanies = new List<Company> {new Company{ Id = Guid.NewGuid(), Name="test child"}}};
     var actual = manager.Create(company);
     Assert.IsTrue(actual);
 }
        public void GetTest()
        {
            var manager = new CompanyManager();
            var company = new Company { Id = Guid.NewGuid(), Clients = new List<Client>(), Name = "test name" };
            manager.Create(company);

            var retutnCompany = manager.Get(company.Id);
            Assert.IsNotNull(retutnCompany);
        }
        public void GetAllTest()
        {
            var manager = new CompanyManager();
            var company = new Company { Id = Guid.NewGuid(), Clients = new List<Client>(), Name = "test name" };
            manager.Create(company);

            var actual = manager.GetAll();
            Assert.IsNotNull(actual);
            Assert.IsTrue(actual.Count() > 0);
        }