TransactionMetadataBuilder { public static Map<String,Value> buildMetadata( Duration txTimeout, Map<String,Value> txMetadata, AccessMode mode, Bookmark bookmark ) { return buildMetadata( txTimeout, txMetadata, defaultDatabase(), mode, bookmark ); }  static Map<String,Value> buildMetadata( Duration txTimeout, Map<String,Value> txMetadata, AccessMode mode, Bookmark bookmark ); static Map<String,Value> buildMetadata( Duration txTimeout, Map<String,Value> txMetadata, DatabaseName databaseName, AccessMode mode, Bookmark bookmark );  }
@Test void shouldNotHaveMetadataForDatabaseNameWhenIsNull() { Map<String,Value> metadata = buildMetadata( null, null, defaultDatabase(), WRITE, null ); assertTrue( metadata.isEmpty() ); }