From 7594bc45fcfa47e00e626d0266493066b18d448a Mon Sep 17 00:00:00 2001 From: IvanaE Date: Tue, 13 Nov 2018 13:57:03 -0500 Subject: [PATCH] pls work --- .../olympus/olympusservices/ServiceTest.java | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/OlympusServices/app/src/test/java/com/uottawa/olympus/olympusservices/ServiceTest.java b/OlympusServices/app/src/test/java/com/uottawa/olympus/olympusservices/ServiceTest.java index 6402296..d2e29ff 100644 --- a/OlympusServices/app/src/test/java/com/uottawa/olympus/olympusservices/ServiceTest.java +++ b/OlympusServices/app/src/test/java/com/uottawa/olympus/olympusservices/ServiceTest.java @@ -28,11 +28,16 @@ public class ServiceTest { @Test public void addServiceProviderTest(){ - service.addServiceProvider( new ServiceProvider( "John123", "1234567890", "John", "Doe" ) ); - service.addServiceProvider( new ServiceProvider( "Jane123", "1234567890", "Jane", "Doe" ) ); - service.addServiceProvider( new ServiceProvider( "John123", "1234567890", "John", "Doe" ) ); - service.addServiceProvider( new ServiceProvider( "Jane123", "1234567890", "Jane", "Doe" ) ); - service.addServiceProvider( new ServiceProvider( "Jane123", "1234567890", "John", "Doe" ) ); + service.addServiceProvider( new ServiceProvider( "John123", "1234567890", "John", "Doe", + "testaddress", "8888888888", "companydotcom", true) ); + service.addServiceProvider( new ServiceProvider( "Jane123", "1234567890", "Jane", "Doe", + "testaddress", "8888888888", "companydotcom", true) ); + service.addServiceProvider( new ServiceProvider( "John123", "1234567890", "John", "Doe", + "testaddress", "8888888888", "companydotcom", true) ); + service.addServiceProvider( new ServiceProvider( "Jane123", "1234567890", "Jane", "Doe", + "testaddress", "8888888888", "companydotcom", true) ); + service.addServiceProvider( new ServiceProvider( "Jane123", "1234567890", "John", "Doe", + "testaddress", "8888888888", "companydotcom", true) ); int numOfSP = service.getServiceProviders().size(); assertEquals( 2,numOfSP ); }