Search in sources :

Example 11 with Customer

use of CustomerImplementations.Customer in project SmartCity-Market by TechnionYP5777.

the class ViewProductFromCartTest method setup.

@Before
public void setup() {
    PropertyConfigurator.configure("../log4j.properties");
    customer = new Customer(clientRequestHandler);
}
Also used : ICustomer(CustomerContracts.ICustomer) Customer(CustomerImplementations.Customer) Before(org.junit.Before)

Example 12 with Customer

use of CustomerImplementations.Customer in project SmartCity-Market by TechnionYP5777.

the class RegisterNewCustomerTest method setup.

@Before
public void setup() {
    PropertyConfigurator.configure("../log4j.properties");
    customer = new Customer(clientRequestHandler);
}
Also used : ICustomer(CustomerContracts.ICustomer) Customer(CustomerImplementations.Customer) Before(org.junit.Before)

Aggregations

Customer (CustomerImplementations.Customer)12 ICustomer (CustomerContracts.ICustomer)11 Before (org.junit.Before)11 CommandWrapper (ClientServerApi.CommandWrapper)1 AmountBiggerThanAvailable (CustomerContracts.ACustomerExceptions.AmountBiggerThanAvailable)1 CustomerNotConnected (CustomerContracts.ACustomerExceptions.CustomerNotConnected)1 InvalidParameter (CustomerContracts.ACustomerExceptions.InvalidParameter)1 ProductPackageDoesNotExist (CustomerContracts.ACustomerExceptions.ProductPackageDoesNotExist)1 UpdateProductPictures (CustomerImplementations.Customer.UpdateProductPictures)1 CriticalError (SMExceptions.CommonExceptions.CriticalError)1 RequiredFieldValidator (com.jfoenix.validation.RequiredFieldValidator)1 FontAwesomeIconView (de.jensd.fx.glyphs.fontawesome.FontAwesomeIconView)1 IOException (java.io.IOException)1