def METHOD_NAME(circuit):
    '''
    Everything should be converted to uppercase internally
        (SPICE is case-insensitive)
    '''
    with set_context(circuit.elements):
        M1 = Instance(
            name='m1',
            model='testmos',
            pins={'d': 'net01', 'G': 'Net02', 's': 'NET03', 'B': 'NeT04'},
            parameters={'PARAM1':'nf*4', 'param2':'2.0'}
        )
    assert M1.name == 'M1'
    assert M1.pins == {'D': 'NET01', 'G': 'NET02', 'S': 'NET03', 'B': 'NET04'}
    assert M1.parameters == {'PARAM1': 'NF*4', 'PARAM2': "2.0"}