package eg.music;
import fit.*;
public class Dialog extends Fixture { String message; Fixture caller;
Dialog (String message, Fixture caller) { this.message = message; this.caller = caller; } public String message() { return message; } public void ok () { if (message.equals("load jamed")) {MusicPlayer.stop();} ActionFixture.actor = caller; }
}
To install Test::C2FIT, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::C2FIT
CPAN shell
perl -MCPAN -e shell install Test::C2FIT
For more information on module installation, please visit the detailed CPAN module installation guide.