def METHOD_NAME():
    with pytest.raises(ValueError):
        EBranchformerEncoder(20, input_layer="dummy")
    with pytest.raises(ValueError):
        EBranchformerEncoder(20, rel_pos_type="dummy")
    with pytest.raises(ValueError):
        EBranchformerEncoder(20, pos_enc_layer_type="dummy")
    with pytest.raises(ValueError):
        EBranchformerEncoder(
            20, pos_enc_layer_type="abc_pos", attention_layer_type="dummy"
        )
    with pytest.raises(ValueError):
        EBranchformerEncoder(20, positionwise_layer_type="dummy")