public void GetAllBranches_calls_client_with_correct_url() { // Arrange _webApiClient.Get <ApiResponse <IList <BranchDTO> > >(Arg.Any <string>()).ReturnsNull(); // Act _client.GetAllBranches(); // Assert _webApiClient.Received(1).Get <ApiResponse <IList <BranchDTO> > >(Arg.Is("branches")); }