public void testSimpleUrl() {
String baseUrl = "http://localhost:8080/pentaho"; //$NON-NLS-1$
SimpleUrlFactory urlFactory = new SimpleUrlFactory( "/testurl?" ); //$NON-NLS-1$
urlFactory.getActionUrlBuilder();
SimpleUrl url = new SimpleUrl( baseUrl );
Assert.assertEquals( url.getUrl(), baseUrl );
url.setParameter( "action", "doSomething" ); //$NON-NLS-1$ //$NON-NLS-2$
Assert.assertEquals( url.getUrl(), baseUrl + "&action=doSomething" ); //$NON-NLS-1$
}