|
1 | | -package functional.java.org.nameapi.client.services.riskdetector; |
| 1 | +package functional.java.org.nameapi.client.services.riskdetector.person; |
2 | 2 |
|
3 | 3 | import com.optimaize.command4j.CommandExecutor; |
4 | 4 | import com.optimaize.command4j.Mode; |
5 | 5 | import org.nameapi.client.lib.NameApiRemoteExecutors; |
6 | 6 | import org.nameapi.client.services.AbstractTest; |
7 | 7 | import org.nameapi.client.services.FunctionalTestsNameApiModeFactory; |
8 | | -import org.nameapi.client.services.riskdetector.DetectRisksCommand; |
| 8 | +import org.nameapi.client.services.riskdetector.person.PersonRiskDetectorCommand; |
9 | 9 | import org.nameapi.ontology5.input.entities.address.StructuredAddressBuilder; |
10 | 10 | import org.nameapi.ontology5.input.entities.address.StructuredPlaceInfoBuilder; |
11 | 11 | import org.nameapi.ontology5.input.entities.address.StructuredStreetInfoBuilder; |
|
24 | 24 | import static org.testng.Assert.assertFalse; |
25 | 25 | import static org.testng.AssertJUnit.assertTrue; |
26 | 26 |
|
27 | | -public class DetectTest extends AbstractTest { |
| 27 | +public class PersonRiskDetectorCommandTest extends AbstractTest { |
28 | 28 |
|
29 | 29 | private final CommandExecutor executor = NameApiRemoteExecutors.get(); |
30 | 30 |
|
@@ -367,7 +367,7 @@ public void multipleResults() throws Exception { |
367 | 367 | } |
368 | 368 |
|
369 | 369 | private RiskDetectorResult run(InputPerson person) throws Exception { |
370 | | - DetectRisksCommand command = new DetectRisksCommand(); |
| 370 | + PersonRiskDetectorCommand command = new PersonRiskDetectorCommand(); |
371 | 371 | Mode mode = FunctionalTestsNameApiModeFactory.functionalTest(); |
372 | 372 | return executor.execute(command, mode, person).get(); |
373 | 373 | } |
|
0 commit comments