what about now

This commit is contained in:
IvanaE 2018-11-16 15:56:09 -05:00
parent b1910247c3
commit 2117d58685

View file

@ -8,6 +8,7 @@ public class ServiceProviderTest2 {
ServiceProvider serviceprovider = new ServiceProvider("John123", "1234567890", "John", "Doe", ServiceProvider serviceprovider = new ServiceProvider("John123", "1234567890", "John", "Doe",
"testaddress", "8888888888", "companydotcom", true); "testaddress", "8888888888", "companydotcom", true);
/** /**
* sets availabilities and tests them. * sets availabilities and tests them.
*/ */
@ -29,6 +30,7 @@ public class ServiceProviderTest2 {
*/ */
@Test @Test
public void testOtherInstances() { public void testOtherInstances() {
serviceprovider.setDescription("LOL");
assertEquals( "testaddress", serviceprovider.getAddress() ); assertEquals( "testaddress", serviceprovider.getAddress() );
assertEquals( "8888888888", serviceprovider.getPhonenumber() ); assertEquals( "8888888888", serviceprovider.getPhonenumber() );
assertEquals( "companydotcom", serviceprovider.getCompanyname() ); assertEquals( "companydotcom", serviceprovider.getCompanyname() );