@Test
void shouldExtractDatabase()
{

    // Given
    Map<String,Value> metadata = singletonMap( "db", value( "MyAwesomeDatabase" ) );
    // When
    DatabaseInfo db = extractDatabaseInfo( metadata );
    // Then
    assertEquals( "MyAwesomeDatabase", db.name() );
}