public async Task CheckSuccessfulCreatingNewBranche_NewBranchShouldBeCreated_TrueReturned() { var newRepository = new RepositoryRequestBody() { Name = TestExtensions.GetRandomString(5), Description = "that repository was created with rest api service for creating new branch", AutoInit = true, IsPrivate = true, GitIgnoreTemplate = "VisualStudio", }; var repository = await RepositoryController.AddRepositoryAsync(newRepository); var branch = await RepositoryController.AddBrancheAsync(repository, "new-test-branch"); var branches = (await RepositoryController.GetBranchesAsync(repository)).ToList(); Assert.Contains(branch, branches); }