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 ); }