Arquillian Example Domain 1.0.0.CR1

com.acme.cdi.payment
Class MockPaymentProcessor

java.lang.Object
  extended by com.acme.cdi.payment.MockPaymentProcessor
All Implemented Interfaces:
PaymentProcessor

@Alternative
@RequestScoped
public class MockPaymentProcessor
extends Object
implements PaymentProcessor


Field Summary
static Boolean HAS_BEEN_CALLED
           
 
Constructor Summary
MockPaymentProcessor()
           
 
Method Summary
 void process(String payment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HAS_BEEN_CALLED

public static Boolean HAS_BEEN_CALLED
Constructor Detail

MockPaymentProcessor

public MockPaymentProcessor()
Method Detail

process

public void process(String payment)
Specified by:
process in interface PaymentProcessor

Arquillian Example Domain 1.0.0.CR1

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.