accessImpl.setServiceBuilder( serviceBuilder );
accessImpl.setUrlPath( urlPath );
accessImpl.setDataSize( dataSize );
accessImpl.setDataFormat( formatType );
Access access;
try
{ access = accessImpl.build(); }
catch( BuilderException e )
{ fail( "Build failed: " + e.getMessage() ); return; }
assertTrue( access.getService().getName().equals( serviceName ) );
assertTrue( access.getUrlPath().equals( urlPath ) );
assertTrue( access.getDataSize() == dataSize );
assertTrue( access.getDataFormat().equals( formatType ) );
}