public void ServiceControllerSearchServiceActionCallsTheServicesUseCase() { var searchParams = Randomm.Create <SearchServicesRequest>(); _classUnderTest.SearchServices(searchParams); _mockUseCase.Verify(uc => uc.ExecuteGet(It.Is <SearchServicesRequest>(p => p == searchParams)), Times.Once); }