001 package org.cocome.tradingsystem.systests.interfaces; 002 003 /** 004 * Interface of the printer which is used to print receipts. This has a lot less 005 * detail than the UserDisplay, because testing correct system reaction can be 006 * checked by investigating the UserDisplay alone. This interface is only used 007 * to see if the printer gets any messages at all. 008 * 009 * @author Benjamin Hummel 010 * @author $Author: hummel $ 011 * @version $Rev: 47 $ 012 * @levd.rating GREEN Rev: 47 013 */ 014 public interface IPrinter extends IUpdateReceiver { 015 016 /** 017 * Returns the last printout produced by this printer. As the format of the 018 * printout is nowhere defined, this is used for logging purposes only. 019 */ 020 String getLastPrintout() throws Exception; 021 }