final Request req = createNiceMock( Request.class );
final Server s = createNiceMock( Server.class );
final TestResponse res = new TestResponse();
final TXspf tpl = new TXspf();
final Track track = TestUtils.getTrack();
final String protocol = "hTTppTT";
tpl.setRequest( req );
tpl.setProtocol( protocol );
tpl.setTracks( new Track[] {track} );
tpl.setProperties( new StringProperties() );
res.showTemplate( tpl.makeRenderer() );
final String data = res.getOutput();
assertTrue( data.length() > 0 );
assertTrue( data.contains(track.getName()) );