# --
# scripts/test/Layout/Template/OutputFilterInclude.pm
# Copyright (C) 2001-2015 OTRS AG, http://otrs.com/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --

package scripts::test::Layout::Template::OutputFilterInclude;    ## no critic

use strict;
use warnings;

our @ObjectDependencies = ();

sub new {
    my ( $Type, %Param ) = @_;

    # allocate new hash for object
    my $Self = {};
    bless( $Self, $Type );

    return $Self;
}

sub Run {
    my ( $Self, %Param ) = @_;

    my $Prefix = $Param{Prefix};

    ${ $Param{Data} } =~ s{(Test\:)}{$Prefix$1}xmsig;

    return 1;
}

1;
