@Test
public void testGetDatasetMetadataByName()
                        throws Exception {

    DefaultOWSMetadataProvider metadataProvider = createProvider();
    DatasetMetadata datasetMetadata = metadataProvider.getDatasetMetadata( new QName( "name1" ) );
    assertThat( datasetMetadata, is( notNullValue() ) );
}