Package at.fhj.itm.beans

Examples of at.fhj.itm.beans.Registration.regButtonClicked()


      registration.setPhone(mockUser.getPhone());
      registration.setUserName(mockUser.getUsername());
      registration.setZip((int) mockLocation.getZip());
      registration.setCity(mockLocation.getCity());

      String result = registration.regButtonClicked();
      Assert.assertEquals("regSuccessfull", result);
      EasyMock.verify(mockServiceUser);

  }
View Full Code Here


      registration.setPhone(mockUser.getPhone());
      registration.setUserName(mockUser.getUsername());
      registration.setZip((int) mockLocation.getZip());
      registration.setCity(mockLocation.getCity());

      String result = registration.regButtonClicked();
      Assert.assertEquals("errorDatabase", result);
      EasyMock.verify(mockServiceUser);

  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.